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
requestAnimationFramegame loop with delta-friendly updates.- Keyboard state for left/right/jump.
- Gravity + ground collision using tile-sized platforms.
- Collectible birds and an animated fire hazard.
- 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.