Right now I'm trying make some browser based game. But I have little questions. Please open below code and inspect it.
http://jsfiddle.net/thisizmonster/YVz6L/4/
- Is there any better solutions handle keyboard inputs?
- While moving, i'm changing image with Running soldier. But as you can see my soldier not running, but after stopped press key, it will start run. Why its happening?