A 2D side-scrolling zombie defense game where you build fortifications and fight off waves of zombies.
In this game, you play as a survivor defending against hordes of zombies. The game is divided into two phases:
- Preparation Phase: Build your defenses using various materials.
- Battle Phase: Fight off waves of zombies using your fortifications and weapons.
- Left Arrow / A: Move left
- Right Arrow / D: Move right
- Space / Up Arrow / W: Jump / Activate jetpack
- Mouse Click: Shoot (during battle phase) / Place objects (during preparation phase)
- Mouse Wheel: Adjust shooting angle
- You have 60 seconds to set up your defenses.
- Available materials:
- Metal Boxes: Basic building blocks
- Cannons: Automated defense turrets
- Traps: Floor hazards that damage zombies
- Defend against waves of zombies.
- Two types of zombies:
- Normal Zombies
- Climber Zombies (can jump over obstacles)
- Score points for each zombie killed.
- Try to survive as long as possible to achieve a high score.
Zombies have a chance to drop power-ups when killed:
- Health Power-up: Temporary immunity
- Ammo Power-up: Increased fire rate
The game features a custom physics engine that includes:
- Gravity
- Collision detection and response
- Velocity-based movement
- Projectile trajectories
- Jetpack with limited fuel
- Infinite scrolling platform
- Dynamic camera that follows the player
- Leaderboard system (stored locally)
- Built using HTML5 Canvas and JavaScript
- Sprite-based animations
- Frame-rate independent game loop