No description
- JavaScript 87.5%
- CSS 7.4%
- HTML 5.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| js | ||
| .gitignore | ||
| index.html | ||
| package.json | ||
| README.md | ||
| styles.css | ||
Columbine 2D
Top-down 2D browser game recreating the Columbine High School layout. Built with HTML5 Canvas and ES modules. No build step, no dependencies.
Status: testing / in development
Run
Serve over HTTP (ES modules require a local server):
npm start
# or
python -m http.server 8080
Open http://localhost:8080.
Controls
| Key | Action |
|---|---|
| WASD | Move |
| Mouse | Aim |
| LMB | Fire |
| R | Reload |
| 1-4 | Switch weapon |
| Shift | Sprint |
| E | Interact |
| Tab | Objectives |
| Esc | Pause |
Structure
index.html — entry point
styles.css — UI styling
js/
main.js — UI shell, screen management
game.js — game loop, combat, objectives, floor transitions
map.js — two-level CHS floor plan (lower + upper)
entities.js — player, NPCs (civilian + responder AI), bullets
weapons.js — weapon definitions and loadouts
render.js — canvas rendering (floor-aware)
audio.js — WebAudio synthesized SFX