No description
  • JavaScript 87.5%
  • CSS 7.4%
  • HTML 5.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-23 23:35:20 +08:00
js Initial commit — Columbine 2D top-down browser game 2026-07-23 03:03:35 +08:00
.gitignore Initial commit — Columbine 2D top-down browser game 2026-07-23 03:03:35 +08:00
index.html Add repo link to about page 2026-07-23 23:33:43 +08:00
package.json Initial commit — Columbine 2D top-down browser game 2026-07-23 03:03:35 +08:00
README.md Initial commit — Columbine 2D top-down browser game 2026-07-23 03:03:35 +08:00
styles.css Initial commit — Columbine 2D top-down browser game 2026-07-23 03:03:35 +08:00

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