🏃 Platformer Game
Create a side-scrolling platformer with jumping, collisions, and a simple goal
⏱️ 8 hours⚡ Intermediate🎮 Game Project
Play the Game
Use A/D or ←/→ to move, SPACE or ↑ to jump
📋 How to Play
- 1.Move left/right with A/D or arrow keys
- 2.Jump with SPACE or Up Arrow when on ground
- 3.Avoid red hazards and reach the green goal block
- 4.Click on the canvas or press Start to begin
🎯 Key Concepts
Physics
Gravity, velocity, and jumping implemented with a simple physics loop.
Collision Detection
AABB collisions between player and platforms with side resolution.
Level Design
Static platforms and hazards to form a simple level layout.
Game Loop
requestAnimationFrame loop updates physics and renders every frame.