How rm934022-bit/apex-velocity-overdrive works
APEX VELOCITY: OVERDRIVE is a browser-based Three.js arcade-sim racing game. The player enters through the game orchestrator, selects a championship level and car setup, then races a generated circuit against AI rivals. Vehicle physics and checkpoint tracking produce race state for the HUD and results; audio and particle systems provide driving feedback. The graph preserves the README’s major gameplay branches. Connections are limited to calls and integrations shown in excerpts, the source index, or README; unsampled implementation details are not inferred.
Main entry points: main.js Game orchestrator · UIManager.js Garage and menus · VehiclePhysics.js Player vehicle physics · LevelManager.js Level progression
Components 13
Game orchestration
- Game orchestrator
src/main.js - Garage and menus
src/ui/UIManager.js
Cars and circuits
- Circuit builder
src/track/TrackBuilder.js - Player vehicle physics
src/cars/VehiclePhysics.js - Car models
src/cars/CarModelBuilder.js - AI rivals
src/cars/AICarController.js
Championship racing
- Level progression
src/levels/LevelManager.js - Laps and standings
src/track/CheckpointSystem.js - Browser storage
Player feedback
- Audio engine
src/audio/SoundEngine.js - Tire smoke
src/effects/TireSmokeSystem.js - Crash sparks
src/effects/CrashSparksSystem.js
Other components
- Player
Connections 18
- Player → Game orchestrator: starts game
README.md - Game orchestrator → Garage and menus: configures
src/main.js - Game orchestrator → Level progression: manages levels
src/main.js - Game orchestrator → Circuit builder: builds circuits
src/main.js - Game orchestrator → Player vehicle physics: updates physics
src/main.js - Game orchestrator → Car models: builds car
src/main.js - Game orchestrator → AI rivals: updates rivals
src/main.js - Game orchestrator → Laps and standings: updates race
src/main.js - Game orchestrator → Audio engine: initializes audio
src/main.js - Game orchestrator → Tire smoke: emits smoke
src/main.js - Game orchestrator → Crash sparks: emits sparks
src/main.js - Garage and menus → Level progression: reads progression
src/ui/UIManager.js - Garage and menus → Audio engine: controls audio
src/ui/UIManager.js - AI rivals → Car models: builds rival car
src/cars/AICarController.js - Player vehicle physics → Audio engine: plays crash sound
src/cars/VehiclePhysics.js - Player vehicle physics → Game orchestrator: reports crash
src/main.js - Game orchestrator → Laps and standings: sets race spline
src/main.js - Level progression → Browser storage: loads and saves
src/levels/LevelManager.js