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
Develop games in your browser. Powerful, performant & highly capable.
You need to Set the animation according to a key pressed - LINK
Dunno there's no premade formula for animation. It depends on the pace and style of your game.