sign in

 



Forgot your password?

signup

Why sign up?
- One account for five websites!
- Free access to Premium Codes
- Acess to cool web tools
- Ask and answer questions
- Stay ahead of other web developers
- and MUCH MORE!




You can also sign up by your facebook account!
Feel The Power

Html Codes: Canvas- Move Objects by Keyboard (Walk and Jump)

If you want to create games you must know how to detect pressed key. HTML5 can make a successful connection with users' keyboard by Javascript. The following example shows how to move objects by keyboard. The code detect whether you have reached to walls and surfaces or not; if yes the movement in the direction is stopped.
Press Left or Right arrow to move and Up for jumping!



If you don't know how to use this code or need more information Click here!



 

You can leave comments once you sign in/up.




Review

Please Rate this!
VISITORS
Online Users: 23
Total Online Users: 32
Recent Members: kogweno, pakman5k, uyennhinuts, sahab ali, Gracie
FIND US

LINK US

Link to us:

Please put this code in your page.