sign in


Forgot your password?


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!

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.


Online Users: 2
Total Online Users: 2
Recent Members: Hectortam,, KarianaJuida, asif raza, rankwebsite
Twitter LinkedIn Youtube

Download Link to us:


Please put this code in your page.