← All courses

Make a Platformer

Build a scrolling jump-and-run game from rectangles.

This course builds one game in four stages. Each stage gives you the two files it needs, beside the guide: the page and the game code. Edit them and the game restarts with your changes.

The whole game is made of rectangles. That is on purpose. Once you can move a rectangle, land it on another rectangle, and scroll the view to follow it, everything else is artwork.

Every stage runs right here in the lesson. Click the game first, then use the arrow keys, or A, D, and W.

Who it's for
Students who have finished the JavaScript lessons in Basic Web Development, or anyone who is comfortable with variables, functions, and if statements.