javascript - Handle User Input with Raphael -
I want to write a simple game using the Raphael javascript library, but a question sticks in my mind.
How does one handle keyboard input? I have seen the reference material and have not received any reference to it. Can you just pass this to the usual JavaScript key-headed methods?
Are you talking about it?
If so, check the source of the given samples.
For example
And you will see that they use normal JS events (Onmoudewow, OnMousePage, MouseDown, MouseUp, Mouseover, ... )
Comments
Post a Comment