Getting our player sprite to move requires a bit of knowledge regarding canvas's draw image function, and how to manipulate a spritesheet over time. This video will teach you how to animate your character using the spritesheets we already put within our /img
directory.
somehow for me, i had to put "this.frames.elapsed % 20" instead of % 10, in order to have a normal walk speed. I'm using Firefox