"Closed tracks are for amateurs. The real war happens in rush hour."
ROADSCYTHE is a 3D motorcycle combat racing game built from scratch with Three.js, TypeScript, and WebGL/WebGPU. Inspired by 90s vehicular combat classics like Road Rash, it pits you against 12 ruthless outlaw bikers on live public arterial freeways packed with civilian commuter traffic, stunt ramps, and aggressive State Highway Patrol interceptors.
No downloads, no installations, no plugins required:
๐ https://roadscythe.netlify.app/
Runs on any modern browser with WebGL2 / WebGPU support on macOS, Windows, Linux, Android, and iOS.
- 3D Starting Gantry: Fully animated start tower with countdown signals (
READY๐ด โSTEADY๐ก โGO!๐ข). - RPM Launch Boost: Hold throttle before the green light to rev your tachometer to 9.5k+ RPM for an instant wheelie launch off the starting line.
- Smart Directional Strikes (
Z/X/F): Auto-detects whether an opponent is pulling up on your left or right flank and delivers a brutal strike with your equipped weapon. - Directional Shove-Kicks (
SPACE): Hip-check and kick rival superbikes sideways into oncoming commercial trucks, civilian traffic, or concrete barriers. - Weapon Snatching & Drops: Knock down aggressive rivals or dismount Highway Patrol officers to pick up their dropped weapons right off the asphalt.
- ๐ด Pacific Coast Circuit (Tier 1 โข 3.5 mi): Coastal sunset sweepers, beachside palm groves, ocean vistas, stunt ramps, and lethal guardrails.
- ๐๏ธ Sierra Canyon Loop (Tier 2 โข 4.5 mi): Rugged red-rock mountain pass, sharp chicanes, blind crests, and heavy oncoming logging trucks.
- ๐ Neon Metro Ringway (Tier 3 โข 5.5 mi): Nocturnal cyberpunk multi-lane freeway choked with rush-hour gridlock, commercial box-trucks, and highway patrol pursuit cruisers.
Choose and customize three distinct high-performance superbikes:
- ๐ด Argon Interceptor 750: Balanced fighter frame with reliable cornering and high endurance.
- ๐ข Kawasaki Viper ZX-10R: Lightweight aerodynamic speed demon capable of 212+ MPH and razor-sharp line changes.
- ๐ฃ Diablo Brawler 1200: Heavy armored enforcer with a +42% melee impact bonus for devastating takedowns.
Upgrade 4 core bike components through Tier 1 (Levels 1โ5) and unlock the Tier 2 High-Performance Overhaul (Levels 6โ10):
- ๐ Bore & Stroke Tuning: Increases top speed and high-RPM power band.
- โก NOS Overdrive Injectors: Boosts surge acceleration, nitro burn rate, and top-end torque.
- ๐ก๏ธ Tubular Crash Cages: Shields bike integrity against civilian vehicle and truck collisions.
- โ๏ธ Heavy Steel Weaponry: Amplifies melee impact impulse, stun duration, and takedown damage.
| Weapon | Damage | Range | Description |
|---|---|---|---|
| ๐ Titanium Knuckles | 15 | 3.2m | Standard street brawling gloves with rapid recovery. |
| ๐ง Steel Crowbar | 29 | 3.9m | Heavy leverage weapon capable of knocking riders off their bikes. |
| โ๏ธ Heavy Iron Chain | 35 | 4.4m | Extended reach weapon for whipping opponents from safe drafting distance. |
| โก Police Volt Baton | 42 | 4.1m | High-voltage tactical stun weapon dropped by Highway Patrol officers. |
| ๐ก๏ธ Plasma Katana | 50 | 4.6m | Rare outlaw weapon delivering lethal one-shot strikes. |
- Live 3D Rear-View Mirror: Dedicated secondary rendering pipeline displaying tailing opponents, civilian traffic, and sirens behind you in real time.
- Proximity Radar: Overhead tactical display tracking opponent distance, police interceptors, and oncoming roadblocks.
- FPV Helmet Cockpit View: Toggle instantly between third-person chase cams and an authentic first-person visor view complete with handlebars and functional digital dash.
- Live contextual radio comms featuring rival biker taunts, crash reactions, and Highway Patrol dispatch chatter ("All units, suspect is splitting lanes at 150 MPH, authorized to ram!").
- Built entirely with the native Web Audio APIโzero external audio files required for core sound effects.
- Dynamic pitch-shifted motorcycle engines with realistic rev cycles, tire squeals, slipstream wind noise, collision crunches, siren doppler effects, and crowd reactions.
| Action | Keyboard | Alternative / Notes |
|---|---|---|
| Accelerate / Gas | W | โ (Hold during countdown to rev engine) |
| Brake / Reverse | S | โ |
| Steer Left / Right | A / D | โ / โ |
| Smart Proximity Strike | Z / X / F | Auto-detects closest rival on left or right |
| Smart Proximity Kick | SPACE | Shoves adjacent bikes into traffic / guardrails |
| Nitro Boost | Shift | Rocket boost for passing and ramp jumps |
| Camera View Toggle | C / V | Cycles between Chase Cam and FPV Helmet Cockpit |
| Highway Recovery / Reset | R | Re-aligns bike onto centerline if stuck or off-road |
| Tactical Comms Toggle | U | Mute/unmute police scanner and biker chatter |
| Audio Mute | M | Toggles procedural sound engine |
| Performance HUD | P | Real-time FPS, frame latency, draw calls, and triangle counters |
| Graphics Engine Mode | G | Switch between WebGL2 and WebGPU backends |
| Post-Process Bloom | B | Toggle neon glow / crisp 4x MSAA mode |
- Rendering Engine: Three.js (r170) utilizing WebGL2 with experimental WebGPU support.
- Language: TypeScript (Strict Mode).
- Build System: Vite 6.
- Audio: Custom procedural synthesis engine built on the browser Web Audio API.
- Effects: Custom GPU particle systems, procedural speed lines, screen-space damage flashes, and Canvas Confetti.
argon-game/
โโโ index.html # Main HTML entrypoint with HUD, Outlaw Intro Crawl, and Chop Shop UI
โโโ package.json # Dependencies and build scripts
โโโ tsconfig.json # Strict TypeScript configuration
โโโ vite.config.ts # Vite configuration
โโโ src/
โ โโโ main.ts # Core game loop, input handling, physics, AI riders, and state management
โ โโโ track.ts # Procedural 3D track curve generation, road geometry, and traffic spawning
โ โโโ models.ts # Procedural 3D bike, rider, traffic, and scenery mesh construction
โ โโโ audio.ts # Web Audio API procedural synthesizer (engines, impacts, sirens, FX)
โ โโโ particles.ts # Spark sprays, smoke trails, exhaust nitro flames, and collision particles
โ โโโ textures.ts # Procedural canvas textures (asphalt, road lines, carbon fiber, decals)
โ โโโ config.ts # Tuning parameters, bike stats, upgrade curves, and game constants
โ โโโ types.ts # TypeScript interfaces for bikes, riders, weapons, and track segments
โ โโโ style.css # Retro-arcade HUD styling, showroom UI, and responsive layout
โโโ LICENSE # GNU Affero General Public License v3.0 (AGPL-3.0)
git clone https://github.com/your-username/argon-game.git
cd argon-gamenpm install
# or
bun installnpm run dev
# or
bun run devOpen your browser to http://localhost:5173/ (or the URL displayed in your terminal).
npm run buildThe optimized static production bundle will be generated in the dist/ folder, ready for deployment to any static web host (Netlify, Vercel, Cloudflare Pages, GitHub Pages).
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
See the LICENSE file for the full license text. Under this license:
- You are free to run, study, modify, and distribute this software.
- If you run a modified version on a server or make it available over a network, you must provide users with access to the corresponding source code under the terms of the AGPL-3.0.