Skip to content
 
 

Repository files navigation

Aegis Nexus

MIT license GitHub Pages

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.

Play Aegis Nexus

Built in under 24 hours: Aegis Nexus was created in less than 24 hours of real time using ChatGPT 5.6 Sol Max.

Aegis Nexus

Highlights

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

Controls

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
14 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 and .

Local development

Requirements: Node.js 22.13 or newer, npm, and a WebGL 2-capable browser.

npm install
npm run dev

Open http://127.0.0.1:8080/.

Verification and visual tools

npm test
npm run build
npm run check:pages

Additional tools:

  • npm run audit:game renders 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:models renders four-direction JPEG contact sheets for every tower tier, enemy, wreck set, and environment prop.
  • npm run audit:coverage renders the obstacle-blocked firing-sector audit.
  • npm run audit:routes renders the converging-route audit.
  • Run npm run dev and 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.

Project structure

  • src/game: gameplay, balance, pathfinding, map generation, models, rendering, controls, and audio
  • src/assets: project-owned JPEG material textures
  • tests: deterministic Node test suite
  • scripts: build, deployment, and visual-audit harnesses
  • artifacts: checked-in JPEG visual baselines and concept references
  • .github/workflows: tested GitHub Pages deployment

Contributing and license

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.

About

Stateloop publishing fork of VictorZakharov/td-neo. Original game and MIT license by its upstream authors.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages