Brian Brian - 19 days ago 6
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

I decided to go with Sprites and Entities.