I'm trying to make a ninja game that utilizes running but how do I animate steps? How many different images should I use? As well, what are some events to simulate running, punching, and kicking?
Thanks to everyone
You need to Set the animation according to a key pressed - LINK
Develop games in your browser. Powerful, performant & highly capable.
Dunno there's no premade formula for animation. It depends on the pace and style of your game.