I will inspect index.html so we can update the page title and metadata for the game.
I will now update index.html to give the app an appropriate title ("Parkour Edge: Aqua Run — 3D Water Park Freerunning") and load Google Fonts for clean, crisp typography.
I will now create src/utils/audio.ts, a custom Web Audio API synthesizer that generates Mirror's Edge style procedural audio: ambient synth music, wind speed whooshes, footstep splashes, vault swooshes, wall-run skids, geyser launches, and ring collection dings.
I will now update src/utils/audio.ts to use windNode properly for cleanup on dispose and ensure there are zero TypeScript errors.
I will update dispose() in src/utils/audio.ts to cleanly stop this.windNode when disposing the audio engine.
I will now create src/utils/materials.ts containing the Mirror's Edge color palette, Runner Vision highlight shaders, wet tile materials, animated water shaders, and speed line / wind trail shader systems.
I will now remove the unused angle parameter from createStripeTexture in src/utils/materials.ts.
I will now implement src/App.tsx with the complete 3D Mirror's Edge water-park parkour game: runner vision, momentum physics, wall-running with camera roll, vaulting, water slide mechanics, geyser launch pads, speed lines, animated first-person hands, Web Audio API sound effects, and a sports-freerunning HUD.
I will now update src/App.tsx to include an interactive Audio Mute / Unmute button in the header banner using handleToggleMute so players can easily toggle audio from the UI.
I will now update src/utils/audio.ts to expose getMuted() so the HUD can read the active mute state.
I will now update pushHud in src/App.tsx so hud.muted accurately reads soundEngine.getMuted().
I will now run build_project to verify that all modules compile cleanly and check the bundle.
I have built Parkour Edge: Aqua Run, a 3D HTML water-park freerunning game with authentic Mirror's Edge parkour controls, visuals, and feel.
What Was Created & Elevated:
-
Mirror's Edge Mechanics & Controls:
- Momentum Sprinting (
Shift + W/A/S/D): Smooth acceleration up to sprint speed with dynamic field-of-view (FOV) widening and speed lines that trail around your vision at high speed.
- Runner Vision: Critical freerunning obstacles—vault rails, wallrun wave-walls, and boost pads—glow in Vibrant Crimson Red (#FF1E27), Solar Yellow, and Neon Aqua with an emissive pulse. You can toggle Runner Vision on/off with
V or the HUD button.
- Vaulting (
SPACE at rails or ledges): First-person Kong Vault and Speed Vault animations where your hands reach forward, tilting the camera and launching you forward with a Flow boost.
- Wall-Running & Wall Kick (
W + SHIFT along vertical Runner Vision walls): Supports both Left Wall and Right Wall runs with a dramatic 18° lateral camera roll. Pressing SPACE during a wall-run executes a Wall-Kick Eject to leap across chasms.
- Power Slide / Crouch Slide (
CTRL or C): Drops your camera eye-height and character hitbox low so you can slide under acrylic glass barriers and through the giant neon water-slide tubes.
- Aqua Geyser Boost Pads: High-pressure water geysers that blast you upward and forward with spray particles.
-
Insane 3D Water Park Visuals in Three.js:
- Architecture: Crisp white concrete decks, cyan acrylic rails, caution stripes, and floating neon Flow Rings.
- Water & Sky Shaders: Procedural swimming pool water shader underneath the entire park with shimmering caustics, and a high-altitude cyan/pink sunset sky dome.
- First-Person Hands & Gloves: Custom Mirror's Edge red-and-white runner gloves that swing realistically with your stride and tilt with camera roll.
- 3D Wind Trail Speed Lines & Splash Particles: Real-time particle systems for water spray, geyser jets, and aerodynamic wind trails.
-
Web Audio API Procedural Synthesizer (src/utils/audio.ts):
- Built-in zero-lag procedural sound engine with atmospheric solar-punk synth pad arpeggios, dynamic wind noise filters that react to speed, wet tile footstep slaps, vault swooshes, wall-run skids, geyser launches, and ring collection dings.
-
UI & Course Navigation:
- Real-time speedometer (KM/H), Flow % meter, split timers, best line storage, and a stage teleporter to jump directly to any of the 6 water-park stages.
Files built: index.html, src/utils/audio.ts, src/utils/materials.ts, src/App.tsx