Downhill Dash: HTML5 Mountain Bike Game
A physics-based downhill mountain bike game with one-button controls. Hold to crouch, release to jump (release at the ramp lip for a POP), hold in the air for backflips, tap for air tricks and land with both wheels level for a speed boost. Ride 24 tracks in 4 worlds, chase 3 stars on each one, then keep going in Endless mode. Plain HTML, CSS and JavaScript, no framework, no dependencies, no build step.

Real bike physics, simple controls
The full-suspension bike and the rider are simulated: suspension on both wheels, spring legs and arms, and ragdoll crashes with the bike tumbling on its own. Kickers, double jumps, drops, logs, rocks, rollers, rock gardens, wooden bridges and canyon gaps. Five air tricks, backflips, manuals and near misses build a combo.
Tour: 4 worlds, 24 tracks
Pine Forest, Red Desert, Canyon and Night Forest, each with its own map, three-layer painted background and twist: less grip and tumbleweeds in the desert, deep gaps in the canyon and a dark trail lit by the handlebar light at night. Three stars per track: reach the finish, beat the score goal and complete the challenge. Stars unlock the next world and a champion screen waits at the end.

Shop
Gears collected on the trails buy 8 bike colors, 8 rider outfits and 4 dust trails. Endless mode cycles through the four worlds and keeps a best score.

Every screen, every language
Layouts for phones, tablets and computers in portrait and landscape. 14 languages: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese. Music, recorded sound effects, keyboard controls, vibration on phones 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, shop items and colors in shop.js and texts in i18n.js; 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 and a step-by-step customization guide come 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, WebP and MP3. 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.
- Editing the source: Node.js 26.13 or newer, npm ci, npm test and npm run build.
















