An arcade-realist 3D chase sandbox with two parallel tracks:
- a browser build powered by
Babylon.js+Vite - a native migration prototype in
Godot 4
The project combines on-foot exploration, car stealing, AI traffic, pedestrians, cash pickups, a wanted system, and police pursuit inside a procedurally generated city district with a golden-hour presentation pass, new district landmarks, and a more readable pursuit HUD.
UI copy for the HUD and overlay lives in src/game/config.js, so in-game text
can be tuned without touching the render loop or gameplay systems.
npm install
npm run devDefault dev URL:
http://localhost:5173
A parallel Godot prototype is available in godot/ as a migration track from
the browser build.
Current Godot milestone:
- procedural city blockout with darker road/surface separation
- native third-person camera with on-foot and driving follow modes
- playable on-foot movement, car entry/exit, traffic, pedestrians, pickups, wanted level, and police spawning
- upgraded stylized city presentation, lighting, and HUD for the migration track
- Install Godot
4.x(recommended: latest stable 4.x). - Open Godot Project Manager.
- Click
Importand selectgodot/project.godot. - Open the project and press
F5(or clickRun Project).
Main scene is already configured as:
res://scenes/Main.tscn
Fastest option from the repo root:
./run-godot.shYou can also point it at a custom Godot binary:
GODOT_BIN="/path/to/Godot" ./run-godot.shIf you have Godot binary in PATH:
godot4 --path godotor (on systems where binary is named godot):
godot --path godotIf the CLI is not installed yet, import godot/project.godot through the Godot
Project Manager first. The repository does not bundle the engine binary.
Current Godot controls mirror the web version:
WASDor arrow keys: move on foot / driveShift: sprint on footE: enter or exit a carleft mouse clickorF: shoot (on foot)Space: handbrakeR: reset active entity (and recover after game over)- mouse drag: rotate camera
- mouse wheel: zoom camera
npm run buildnpm run testWASDor arrow keys: move on foot / driveShift: sprint on footE: enter or exit a carleft mouse clickorF: shoot (on foot)Space: handbrakeR: reset player or active vehicle position- mouse drag: rotate camera
- mouse wheel: zoom camera
Audio starts after pressing the start button (browser autoplay policy).
- third-person camera for both on-foot and driving modes
- procedural city layout with layered arcade-realist rendering
- district landmarks including a plaza, gas station, parking lot, and construction site
- on-foot movement and vehicle hijacking
- AI traffic with occasional junction hesitation for less deterministic street flow
- pedestrians walking on sidewalks
- cash pickups around the district
- wanted level with contact/search/cooling pursuit phases and more aggressive police spawns
- weapon combat with projectile fire (player and hostile NPCs)
- sharper low-speed driving, tighter high-speed steering, and stuck recovery
- oriented vehicle collisions with short hit reaction feedback
- basic collisions, damage, and game over state
- start overlay with in-game HUD telemetry, pursuit scan, and run/event progress meters