I'll build this ambitious mecha game. Let me start by researching and exploring the project structure.
Let me check the existing project files and research AC6's visual aesthetic.
Research complete. Now let me set up the foundation — install Three.js and write an ambitious spec.
Foundation set. Now let me build the core modules. Starting with math utilities, procedural textures, input, and audio synthesis.
Now the procedural texture factory — brushed metal, panel lines, grime, snow, and emissive masks generated on canvas.
Let me fix that unused variable.
Now input handling and the WebAudio synthesis engine.
Let me fix a stray line in Audio, then build the Engine with HDR bloom post-processing.
Now the Engine with renderer, scene, and HDR bloom composer.
Now the World — sky, atmospheric fog, terrain, and the colossal megastructures. This is the visual centerpiece.
Let me fix the type errors — the concreteTexture tint param expects a string, and remove unused imports.
The concreteTexture calls pass hex numbers but need string colors. Let me fix those and remove the unused field.
World complete. Now the detailed procedural mech model — the star of the show. Building a fully articulated AC with ~30 parts.
Let me fix the unused variable warnings.
Mech complete and clean. Now the Effects system — particle pools for explosions, muzzle flashes, thruster flames, and tracers.
Now the Weapons system — projectile pools with homing missiles, pulse shots, and hitscan tracers.
Now the PlayerController — the heart of the game feel: movement, boost mechanics, camera, lock-on, and combat.
Let me fix those two unused variables.
Now the enemies and boss AI system with drones, ground MTs, and the rival AC boss.
Let me fix the initializer and unused variable errors.
Let me verify the current state of those functions.
The functions are already fixed. The lint errors were from an earlier state. Now let me build the Game orchestrator that ties everything together.
Let me remove the unused method and variable.
Core game engine complete. Now the AC6-style HUD and menu UI. Let me build the HUD component.
Now the menu screens and the App that ties it all together.
Now the App that orchestrates everything.
Let me update the page title and run the first build milestone.
Build succeeds. Now let me address rendering correctness — the composer needs an OutputPass for proper tone mapping, and I'll tune bloom plus add a cinematic idle render loop so the world is visible behind the menus.
Now let me boost the emissive glow materials into HDR range so they bloom properly.
Now let me add a cinematic idle render loop so the world and mech are visible behind the title/briefing menus.
Let me cancel the idle loop when the game starts.
Let me improve boss missile homing to track the live player position via a proxy object.
Now let me wire the player proxy in Game so the boss can track the live player.
Let me run a build to confirm everything compiles after these changes.
I realize a critical visual issue: the metallic mech materials have no environment map, so they'd render dark and flat. Let me generate a procedural environment map for realistic metal reflections.
Let me build to confirm the environment map integration works.
Now an important gameplay fix — the player can currently fly through structures. Let me add collision resolution against the world colliders.
Let me call the collision resolver in the update loop and wire the colliders in Game.
Let me build to verify the collision system compiles.
The game is complete and building successfully. Let me do a final review of one critical detail — ensuring the enemy AI classes properly handle the constructor spread pattern, since that's a subtle TypeScript area.
Everything is in place and building cleanly. Let me run one final verification build to guarantee the shipped state is solid.
RUBICON PROTOCOL: SEVER THE SPAN is complete and building successfully. 🎮
What I built
A fully procedural, AAA-styled third-person mecha game heavily inspired by Armored Core VI — everything generated in code, zero imported assets.
Research → Spec → Build
I researched AC6's core mechanics (Quick Boost, Assault Boost, stagger/ACS system, megastructures, cold industrial aesthetic), wrote an ambitious spec.md, audited it, and executed.
The engineering (12 modules)
- Engine — WebGL2,
high-performance GPU request, HDR pipeline: RenderPass → UnrealBloom → custom color-grade shader (vignette, film grain, chromatic aberration, boost warp, damage pulse) → ACES OutputPass. Procedural PMREM environment map so metals actually reflect.
- World — A frozen basin beneath the Great Span: a 9km sky-spanning megabridge with suspension towers, truss ribs, lit superstructures; refinery tank clusters, climbable towers, glowing coral conduits, a boss arena platform, 14 fog-shrouded distant giants, camera-following snow (4000 particles), and a custom atmospheric-scattering sky shader with drifting clouds and a bloom-driven sun.
- Mech — A ~30-part articulated AC (faceted head with mono-eye, layered chest, intake vents, missile pod, pulse cannon, hydraulic-pistoned arms, rifle, energy pulse blade, reverse-jointed legs, twin backpack boosters) with procedural brushed-metal/panel-line/rivet/hazard-stripe PBR textures and a procedural IK-ish animator (stride, air-tuck, aim tracking, recoil, thruster glow).
- Movement/Combat — Boost, Quick Boost dodge (with afterimages + shockwaves), Assault Boost (FOV kick + warp), energy/overheat, ACS stagger, spring cam with shake, lock-on with soft auto-aim, rifle/homing missiles/charged pulse cannon/blade lunge.
- Enemies — Recon drones (swarm/strafe), reverse-jointed MT bipeds, and a rival AC boss "Wraith" with a full state machine (approach/strafe/burst/missile-barrage/blade-rush/retreat) and a phase-2 coral overdrive at 50% HP.
- Effects/Weapons/Audio — Pooled particles (explosions, sparks, smoke, muzzle flashes, thruster plumes, tracers, shockwaves), pooled projectiles with guided missiles, and fully synthesized WebAudio (weapons, boosters, explosions, UI, ambient wind gusts, and an adaptive synth score).
- UI — AC6-style teal/orange vector HUD: lock reticle & tracking box with target AP/ACS, radar, AP/EN/ACS bars, speed/altitude, boss health bar, waypoints, event flashes, scanlines — plus animated title, briefing, pause, and victory/defeat screens.
The mission flows through drone ambush → reservoir crossing → MT garrison → boss duel, all under the megastructure. You spawn in open air on a ridge overlooking the vista, exactly as requested. All AC-specific names were replaced with originals (Rubicon Protocol, Sever the Span, the AC "Wraith").
Files built: spec.md, src/game/mathutils.ts, src/game/textures.ts, src/game/Input.ts, src/game/Audio.ts, src/game/Engine.ts, src/game/World.ts, src/game/Mech.ts, src/game/Effects.ts, src/game/Weapons.ts, src/game/PlayerController.ts, src/game/Enemies.ts, src/game/Game.ts, src/ui/HUD.tsx, src/ui/Menus.tsx, src/App.tsx, index.html