Brian Brian - 1 year ago 101
Javascript Question

JavaScript game, Sprites

I'm trying to create a JavaScript game. The main player is an html image of a Pikachu. I'm trying to implement methods where the Pikachu image can jump, move left/right. What's the best way to implement this? Is there a way to implement physics methods on an image?

Answer Source

I decided to go with Sprites and Entities.