Play~0.7 MB download

Nothing loads until you press Play. Runs on drift-car.ai-play.games

drift-car.ai-play.games Play in a new tab
Rate this game
No ratings yet

Drift Car

Three.jsPhonesRacingSimulation
3 plays

Throw a chunky red rally car into drifts, jumps and cone slaloms on a grey-box test track with real suspension.

Screenshots

Screenshot 1 of Drift CarScreenshot 2 of Drift CarScreenshot 3 of Drift Car

About this game

Written by the game's author.

A chunky, stylised red rally car on a grey-box test track with ramps, stairs, pillars and pylons. It runs on raycast suspension with weight transfer, so the handbrake kicks the tail out and the car leans, squats and drifts the way it should.

Score points for drifts, big air and cone hits. Press G for the debug view of suspension rays, tyre forces and velocity. The autoplay demo opens mid-drift and runs a cone slalom, a kicker jump in slow motion, a pylon wall and hairpin drifts with scripted cinematic cameras.

Made with the AI Game Dev CLI: every line of code, shader and sound was written by its agent. There are no asset files; geometry, materials, effects and audio are all generated in code.

Controls

  • Throttle: W / ↑ · Brake / reverse: S / ↓ · Steer: A D / ← →
  • Handbrake (start a drift): Space
  • Reset the car: R · Camera: C · Debug: G · Mute: M
  • Mouse / touch: hold to drive, steer left/right of the screen centre, hold the bottom band to brake; right mouse button or a second finger = handbrake
  • Gamepad: left stick steers, RT throttle, LT brake, A/B handbrake
  • Autoplay: open with ?demo=1 or press P

Embed this game

Paste this into your own page. The game runs on its own domain, sandboxed.

<iframe src="https://drift-car.ai-play.games/" width="960" height="540" title="Drift Car" allow="fullscreen; gamepad; autoplay; xr-spatial-tracking" sandbox="allow-scripts allow-same-origin allow-pointer-lock allow-forms allow-popups allow-modals allow-downloads allow-popups-to-escape-sandbox" allowfullscreen loading="lazy"></iframe>