Basic Game HTML5

A tiny browser platformer built with a canvas and the sprite assets from the platforme folder. Use it as a teaching starter: game loop, input, gravity, collisions, collectibles, and a simple animated hazard.

Score: 0  |  Best: 0
Move: A/D or arrows   Jump: W/Space

What this demo teaches

  1. requestAnimationFrame game loop with delta-friendly updates.
  2. Keyboard state for left/right/jump.
  3. Gravity + ground collision using tile-sized platforms.
  4. Collectible birds and an animated fire hazard.
  5. Loading images asynchronously before starting play.
Open this file’s source and change speed, gravity, or platform layout. Small tweaks are the fastest way to learn game feel.