A browser-based top-down survival shooter built for a hackathon theme: Beneath the Surface.
You survive underground-themed zombie waves, unlock stronger weapons, and defeat a final boss to complete the run.
itch.io: https://developer-parth.itch.io/zombie-apocalypse
- Fight increasing zombie waves in a large arena.
- Progress through level-based environment themes.
- Earn score to unlock stronger guns.
- Reach the final level, trigger the boss fight, and win by defeating the boss.
- Multiple weapons with different damage, cooldown, force, ammo, durability, and unlock thresholds.
- Real-time shooting with projectile physics.
- Zombie AI pathfinding toward the player.
- Score system and kill rewards.
- Final boss with:
- larger size/hitbox
- higher speed
- dedicated boss health bar
- minimum hit requirement before death
- Grid-based world with physics walls and walkable nodes.
- Visual tile themes that change by level.
- Background color themes by level range.
- Regen pod pickup that heals the player and refills ammo.
- Live HUD: score, level, zombies left, current weapon, high score.
- Goal table panel.
- Notification system (for level up, weapon unlocks, high score reached, boss spawn).
- Pause menu with:
- Resume Game
- Restart
- Return to Menu
- High score stored in
localStorage. - Home screen shows stored high score.
- Settings page includes:
- Mute Music (global sound mute)
- Reset High Score
- Looping menu music across menu, gamemode, tutorial, and settings.
- Looping game music during gameplay.
- Looping win music on win screen.
- One-shot SFX:
- shoot
- reload pickup
- gameover
- menu/gamemode/tutorial/settings button clicks
- Lose: redirects to gameover screen.
- Win: redirects to gamewin screen with return-to-menu option.
W / ArrowUp: Move upA / ArrowLeft: Move leftS / ArrowDown: Move downD / ArrowRight: Move rightSpace: ShootE: Next weaponQ: Previous weaponEsc / T: Toggle goals table
You can configure mode from the Gamemode page using two switches: difficulty and god mode.
- Easy
- Lowest zombie wave scaling.
- Uses
ZOMBIE_EASY_BASE_COUNTandZOMBIE_EASY_INCR_COUNT.
- Regular
- Medium zombie wave scaling (default progression pace).
- Uses
ZOMBIE_REGULAR_BASE_COUNTandZOMBIE_REGULAR_INCR_COUNT.
- Hard
- Highest zombie wave scaling.
- Uses
ZOMBIE_HARD_BASE_COUNTandZOMBIE_HARD_INCR_COUNT.
- God Mode (ON)
- You do not take damage.
- All weapons are available immediately.
- Ammo is effectively unlimited.
- Bullet damage and durability are heavily boosted.
Install git if not already installed and run the following commands.
git clone https://github.com/Developer-Parth/Zombie-Apocalypsecd Zombie-Apocalypseyarn dlx serveOpen the served URL and start from index.html.
ENJOY THE GAME!!
- HTML5, CSS3, Vanilla JavaScript
- Pixi.js (rendering)
- Matter.js (physics and collision)
- TweenJS (animation helpers)
The game interprets Beneath the Surface as a literal underground survival experience: each level shifts environment style and pressure, culminating in a deep-run boss encounter.