Skip to content

Developer-Parth/Zombie-Apocalypse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zombie Apocalypse: Beneath The Surface

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.

Play Live

itch.io: https://developer-parth.itch.io/zombie-apocalypse

Core Gameplay

  • 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.

Complete Feature List

Combat and progression

  • 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

Level and world systems

  • 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.

UI and UX

  • 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

Persistent systems

  • High score stored in localStorage.
  • Home screen shows stored high score.
  • Settings page includes:
    • Mute Music (global sound mute)
    • Reset High Score

Audio system

  • 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

End states

  • Lose: redirects to gameover screen.
  • Win: redirects to gamewin screen with return-to-menu option.

Controls

  • W / ArrowUp: Move up
  • A / ArrowLeft: Move left
  • S / ArrowDown: Move down
  • D / ArrowRight: Move right
  • Space: Shoot
  • E: Next weapon
  • Q: Previous weapon
  • Esc / T: Toggle goals table

Game Modes

You can configure mode from the Gamemode page using two switches: difficulty and god mode.

  • Easy
    • Lowest zombie wave scaling.
    • Uses ZOMBIE_EASY_BASE_COUNT and ZOMBIE_EASY_INCR_COUNT.
  • Regular
    • Medium zombie wave scaling (default progression pace).
    • Uses ZOMBIE_REGULAR_BASE_COUNT and ZOMBIE_REGULAR_INCR_COUNT.
  • Hard
    • Highest zombie wave scaling.
    • Uses ZOMBIE_HARD_BASE_COUNT and ZOMBIE_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.

Run Locally

Install git if not already installed and run the following commands.

git clone https://github.com/Developer-Parth/Zombie-Apocalypse
cd Zombie-Apocalypse
yarn dlx serve

Open the served URL and start from index.html.

ENJOY THE GAME!!

Tech Stack

  • HTML5, CSS3, Vanilla JavaScript
  • Pixi.js (rendering)
  • Matter.js (physics and collision)
  • TweenJS (animation helpers)

Project Theme Fit

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.

About

Zombie Apocalypse: Beneath The Surface is a browser-based top-down survival shooter where you fight escalating underground-themed zombie waves, unlock weapons through score progression, and defeat a final boss to win.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors