Skip to content

URL parameters

The game accepts query-string parameters at the root URL. They compose freely.

Race / menu

ParamValuesDefaultEffect
tracklagoon | cliffside | calibration | test-ring | any id under public/tracks/lagoonPicks the track. JSON-driven tracks are loaded from public/tracks/<id>.json.
bikecruiser | racer | stunt | any id under public/assets/bikes/racerPicks the player bike variant.
race1offBoots straight into a race.
autostart1offStarts the race immediately (skips the pre-race wait).
cupany cup idoffBoots into the named cup.
roomany room idoffJoins a multiplayer lobby room. Add &race=1 to skip the lobby and go straight to the race.
tt1offTime-trial / deterministic mode.
replayreplay dataoffPlays back a recorded replay.
determinism<seed>offRuns with a fixed determinism seed.
tutorial1offBoots into the tutorial.
host<server>offConnects to the named multiplayer server.
back1offReturns to the previous menu/screen.
ai<n>full fieldCaps the AI field size to n opponents.

Authoring

ParamValuesDefaultEffect
edit1offOpens the in-app track editor instead of the racer. Defaults the track to lagoon-edit if track isn't set. See Authoring tracks → Editor-driven.

Dev scenes

ParamValuesDefaultEffect
viewerany bike id, or 1 for the first manifest entryoffOpens the stand-alone bike viewer — a turntable with OrbitControls for inspecting one built bike GLB. Skips the entire game boot (no track / physics / AI). See Authoring bikes.
propviewer<id>offOpens the prop studio viewer for one prop.
calibrate1offOpens the rider-pose calibration scene.
rideredit1offOpens the rider editor.
waveriders1offOpens the wave-rider validation scene.
waterlab1offOpens the water lab.
watertune<slug>offOpens water tuning for the named track.
podium1offOpens the podium ceremony scene.

Tidal / level

ParamValuesDefaultEffect
tide<amp>[,period[,phase]]offKing-Tide tidal-height override (amplitude, optional period and phase).

Debug

ParamValuesDefaultEffect
wavedots1offVisualises water sample points as dots.
wire1offRenders the water surface as wireframe.
clipcollision0onRestores collide-everything (disables the collision-corridor clip).

Examples

URLWhat you get
http://localhost:5191/Lagoon Loop, Racer bike — default config
http://localhost:5191/?track=cliffsideCliffside, Racer bike
http://localhost:5191/?bike=stuntLagoon Loop, Stunt bike
http://localhost:5191/?track=cliffside&bike=stunt"The most fun config" per the README
http://localhost:5191/?edit=1Track editor over lagoon-edit
http://localhost:5191/?track=mybeach&edit=1Editor over a specific (or new) JSON track
http://localhost:5191/?viewer=scoutStand-alone bike viewer — turntable with orbit controls, inspect one built bike

Persistence

URL params are read once at boot. Changing the URL while the game is running has no effect — reload to apply.

The Garage menu (HUD button, top-right) writes the chosen bike + track back to the URL via pushState, so a chosen config is shareable / reloadable.

The localStorage save state (best-lap times) is keyed by (track, bike) and persists across reloads independent of the URL params.

Made with VitePress.