Dirt Dash MX: HTML5 Motocross Racing Game
A motocross racing game with painted art and real bike physics. Race three rivals over tables, double jumps, whoops and mud, change rows inside your lane to dodge tire stacks and hay bales, flip forward or backward in the air, pull air tricks and fire a turbo for a burst of top speed. 24 tracks in 4 arenas, 3 stars on each one, a podium after every race, Time Trial against your own ghost and a Freestyle mode. Plain HTML, CSS and JavaScript, no framework, no dependencies, no build step.

Race, dodge, flip, turbo
The bike and the rider are simulated: suspension on both wheels, spring legs and arms, and ragdoll crashes. You race three recorded rivals on four lanes seen in 3/4 view, and inside your lane you switch between three rows to dodge obstacles; rivals sometimes crash too. Front flips, backflips, five air tricks and perfect landings build a combo. Dodges, close calls, slaloms and tricks fill the turbo bar: the turbo has its own flame, sound, speed streaks and afterimages. A guided first track teaches every control by playing.

Tour: 4 arenas, 24 tracks
Stadium at night, Countryside, Mud Valley in the rain and Dunes at sunset, each with its own painted art, map and music loop. Three stars per track: reach the finish, beat the score goal and complete the track's challenge (grab the 3 golden gears, perfect landings, flips, air tricks, a combo or no sketchy landings). A podium shows the top three after each race, stars unlock the next arena, and a champion screen waits at the end.

Garage
Gears collected on the tracks buy 8 bike colors, 8 rider outfits (jersey, pants, helmet, gloves and shoes) and 4 dust trails, shown on a turntable in the garage. New stars pay bonus gears. Time Trial races your best run as a ghost, and Freestyle is a never-ending run with a best score.

Every screen, every language
Layouts for desktop and phones in landscape and portrait, with keyboard and touch controls. 14 languages: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese. A music loop per arena, jingles, a layered engine sound and recorded effects, separate music and effects volumes, vibration on phones, fullscreen and a Less motion option.
Your template, your hosting
Upload the game folder to any static HTTP(S) host: no database, PHP, account or server code. Tracks are in tour.js, bikes, outfits and trails in shop.js, texts in i18n.js and gameplay numbers in one FEEL object; every picture is a separate WebP and every sound a separate MP3. The complete editable source is included, readable and formatted, with tests, a local preview server and npm run build. An offline buyer guide in 14 languages comes in the package.
Technical details at a glance
- Stack: HTML5, vanilla JavaScript, Canvas 2D and Web Audio, with no third-party game engine.
- Files: HTML, CSS, JavaScript, JSON, WebP, MP3 and WAV. Font: Baloo 2 (SIL Open Font License).
- Languages: 14 interface languages; buyer guide in 14 languages.
- Saves: the browser's local storage, with no account. No in-app purchases, no tracking and no external requests. Gears are only a game currency.
- Editing the source: Node.js 22 LTS (22.12 or newer), npm ci, npm test and npm run build.


















