Three.js · no assets · procedural
A Doom-style 2.5D arena shooter that runs in a browser tab. Sector maps generated from a seed string, three weapons, two enemy types, and not one external asset — every texture is painted on a canvas, every enemy is boxes, every sound is synthesised.
WASD · mouse · 1–3 · esc | ~20 MB, loads in a second
01 — what it is
HELLGATE is a small, complete game: a first-person arena shooter with procedural levels, a real combat loop, and a wave structure that gets harder until you die. It is also a reference for how far you can get in Three.js without loading a single image, model, or audio file.
02 — in the arena
Real frames, captured from the game running headless in Chromium. No mockups.




03 — the map is a seed
Rooms are carved as rectangles, joined by L-shaped corridors, then given random ceiling heights so corridor mouths read as doorways. The exit room gets sealed behind doors, one room gets a raised ledge, and the whole thing is merged into five meshes. Type the same seed twice and you get the same map, down to the brick.
04 — how it plays
Throw fireballs, telegraph the throw, wander until they see you. Wave two adds grunts that close distance and hitscan you at range.
From wave three the exit is keycard-locked as well as wave-locked: find the yellow card, then clear the room, then leave.
Three classes, five powers on an energy pool: dash, shockwave, ward, volley, bulwark. A companion drone follows you and shoots what it can see.
Health, armour, bullets, shells and rockets are scattered procedurally each wave. Armour eats half of every hit.
Hit flash on enemies, tracers, wall decals, gibs, a face indicator that degrades, damage arrows, and screen shake on rockets.
controls
05 — under the hood
No bundler, no build step, no framework. ES modules and an import map. The level generator imports nothing, so it can be unit-tested in Node without a browser.
Sector grid, rooms, corridors, doors, circle-vs-wall sliding, wall raycasts. Pure math, no Three.js.
Turns the grid into five merged BufferGeometries with hand-built UVs and normals.
Two enemy types on one FSM: idle, chase, attack, pain, death. Grid line-of-sight, shared geometry.
Pooled particles, tracers, decals and lights. Nothing allocates per shot.