A neon-soaked, physics-driven desert racing game built with PixiJS and TypeScript.
Play Online โ runs in any modern browser, desktop or mobile.
Neon Desert Outlaw is a top-down racing game set in a procedurally generated desert. Race through neon-lit outposts, drift across sand dunes, and compete against AI opponents โ all rendered with dynamic lighting, bloom effects, and physics-driven particle trails.
- Physics-based driving โ bicycle model with realistic friction, drift mechanics, and surface-dependent grip
- Procedural world โ infinite desert generated with Poisson-disc sampling, chunked terrain streaming
- Dynamic lighting โ headlights, neon glow, bloom post-processing
- Multiple game modes โ Quick Race and Story Mode
- AI opponents โ race against bots with distinct driving personalities
- Mobile support โ touch controls with virtual joystick, responsive UI
- Synthwave audio โ procedurally generated soundtrack with in-game music controls
| Key | Action |
|---|---|
| W / โ | Accelerate |
| S / โ | Brake / Reverse |
| A / โ | Steer Left |
| D / โ | Steer Right |
| Space | Handbrake |
| M | Toggle Sound |
| Enter | Start Race / Confirm |
| ESC | Back to Menu |
- Left joystick โ steer and accelerate (push up to go, tilt to steer)
- B button โ brake
- H button โ handbrake
- Node.js 18+
- pnpm (recommended) or npm
git clone https://github.com/the911fund/neon-desert-outlaw.git
cd neon-desert-outlaw
pnpm install| Command | Description |
|---|---|
pnpm dev |
Start dev server with HMR |
pnpm build |
Production build to dist/ |
pnpm lint |
Run ESLint |
pnpm typecheck |
TypeScript type checking |
pnpm test |
Run unit tests (Vitest) |
- Engine: PixiJS 8 (WebGL/WebGPU)
- Language: TypeScript
- Bundler: Vite
- Testing: Vitest
src/
โโโ main.ts # App entry point
โโโ game/ # Game loop, input, config, race mode
โโโ physics/ # Bicycle model, drift, surfaces, collisions
โโโ world/ # Procedural terrain, chunks, obstacles
โโโ rendering/ # Camera, lighting, particles, bloom
โโโ vehicle/ # Vehicle entity, renderer, headlights
โโโ ai/ # Bot drivers and vehicles
โโโ story/ # Story mode missions and dialogue
โโโ ui/ # HUD, minimap, menus, touch controls
โโโ utils/ # Math helpers, object pooling
ISC