Remix Library / Games

Pixel Jumper

A platformer with 3 levels: run, jump, grab coins, dodge spikes, reach the flag.

Intermediate HTML · CSS · JavaScript
No account needed: you’ll start as a guest.
read-only · remix to edit
Preview

What you'll learn

  • Tile maps
  • Gravity & jumping
  • Collision with walls
  • Scrolling cameras
  • Game feel (coyote time!)

Challenges

Remix it, then try these. Each one is a bit harder than the last.

  1. Change GRAVITY and JUMP to make the game feel floaty or snappy.
  2. Design a 4th level in levels.js.
  3. Add a double jump (hint: count jumps since you last touched the ground).
  4. Add an enemy that walks back and forth on a platform.
  5. Make a timer and show your best time for each level.