A cinematic 3D tower-defense strategy game built with Babylon.js 9 and Webpack. Place defenses anywhere valid, bend live A* routes around natural obstacles, and hold a procedurally varied battlefield through twelve escalating waves.
Built in under 24 hours: Aegis Nexus was created in less than 24 hours of real time using ChatGPT 5.6 Sol Max.
- Live A* navigation recalculates around natural obstacles and every placed tower; route-sealing placements are rejected.
- Two procedural portals can spawn along the rear or the ingress half of either side edge, then converge into a shared central route.
- Placement mode previews the exact changed route with a dashed line and shows firing coverage as subtle green/red ground tint.
- Four color-coded defense classes have class-specific traverse speed, muzzle fire, upgrades, and three distinct visual tiers.
- Nova artillery ignores direct line-of-sight blockers but has a visible red minimum-range dead zone.
- Six color-coded hostile chassis include articulated movement, shields, armor, support behavior, and pooled destruction fragments.
- Twelve tuned waves, early-launch bonuses,
1×/3×simulation, pause/restart flow, synthesized audio, and strategy controls. - PBR materials, filtered shadows, bloom, pooled particle effects, adaptive resolution, and an internal deterministic JPEG visual harness.
| Input | Action |
|---|---|
W / S |
Pan up / down |
A / D |
Pan left / right |
| Arrow keys | Pan in conventional screen directions |
| Left-, middle-, or Alt + left-drag | Grab-pan the battlefield |
| Right-drag | Orbit camera |
| Right-click | Cancel tower placement |
| Mouse wheel | Zoom |
1–4 |
Select a defense platform |
U |
Upgrade selected platform |
F |
Launch the next wave early |
Space |
Pause |
Esc |
Cancel, close selection, or open the pause menu |
The simulation-rate control toggles directly between 1× and 3×.
Requirements: Node.js 22.13 or newer, npm, and a WebGL 2-capable browser.
npm install
npm run devOpen http://127.0.0.1:8080/.
npm test
npm run build
npm run check:pagesAdditional tools:
npm run audit:gamerenders deterministic loading, menu, tower-tray, standby, first-tower, and Nova-coverage JPEGs in headless Edge. It also verifies loading typography and settled multi-angle frame stability.npm run audit:modelsrenders four-direction JPEG contact sheets for every tower tier, enemy, wreck set, and environment prop.npm run audit:coveragerenders the obstacle-blocked firing-sector audit.npm run audit:routesrenders the converging-route audit.- Run
npm run devand open http://127.0.0.1:8080/foundry.html for the interactive model foundry.
See the game audit, model audit, coverage audit, and route audit.
src/game: gameplay, balance, pathfinding, map generation, models, rendering, controls, and audiosrc/assets: project-owned JPEG material texturestests: deterministic Node test suitescripts: build, deployment, and visual-audit harnessesartifacts: checked-in JPEG visual baselines and concept references.github/workflows: tested GitHub Pages deployment
Read CONTRIBUTING.md before submitting a pull request. Security reports should follow SECURITY.md.
Aegis Nexus is open source under the MIT License. Unless a file says otherwise, repository-owned artwork and visual assets are included under the same license.
