Critter Cross: HTML5 3D Animal Motocross Racing Game with Source Code
A bright 3D motocross racer for the browser, built with three.js and plain JavaScript: no framework, no build step. Race three rivals over three laps on dirt tracks seen from above, fly off wooden ramps, drift through corners to charge a boost and fire the turbo. It runs on desktop and on phones in landscape.
8 tracks, 8 worlds
Sunny Farm, Apple Orchard, Soggy Swamp, Red Canyon, Snowy Peak, Sunny Beach, Gold Mine and Night City, each with its own ground, scenery, weather and music. Ramps, speed arrows, mud, shortcuts, acorns to collect and chickens crossing the farm tracks.

Jump, drift, turbo
Holding a turn at speed drifts the bike and charges a boost in three levels (blue, orange, purple). Ramps launch the bike into the air; landing level adds nitro. The turbo burns the nitro gauge, a turbo start rewards good timing and tucking in behind a rival gives a slipstream.

Riders, garage and modes
Rocco the raccoon, Pip the bunny, Tusk the boar and Vixi the fox, each with different speed, grip and air. Acorns buy riders, three upgrade levels for engine, tires and nitro, and five paints. Race with 3 stars per track, Time Trial with medals, Cup (two championships) and Mirror, plus a daily challenge.

Easy to change
Tracks, themes, riders, prices and prizes are plain data in tracks.js; a track is a loop of control points and the ramps go on the straights by themselves. Every text is one row in i18n.js (14 languages). The source comes with tests, a track checker, a test robot and an offline guide in 14 languages.


















