arrow keys or wasd keys to move press r to reset incase you get stuck click or use the space key to use your weapon (it wont be useful i just wanted to add it) try to get to the end good luck!
a tutorial helped me make the scrolling platformer and google helped me get the sword art i made the level art and player art some code was made by me on my own