Prime Drive
Three-lane racing with recycled scenery, distance-based record ghosts, and persistent leaderboard data.

A three-lane bike racing game where players dodge obstacles, collect coins, and chase the track-record ghost over a 10 km course.
Project information
Maintained by: Community · carlosmu
License: Not identified in this catalog. Consult the upstream repository and maintainer for applicable terms before reuse.
Explore the code
These links point to a specific source snapshot so the explanations remain useful as upstream development continues. They are learning references, not a security assessment.
Create a long race with recycled scenery
setWorldOffset and scrollTrack move a shared world root sideways for lane changes and wrap road decorations back ahead after they pass the player. The bike stays in place while the scenery supplies the sense of movement.
Project context: Read the ring builders and shared TRACK/SPAWN settings to understand spacing and wrap distances.
Source references:
Show record ghosts relative to the player
updateGhosts places ghost bikes from their distance gap, hides ghosts outside the viewing range, and smoothly moves them into lanes away from the player.
Project context: This module consumes GhostRunView data; it displays supplied progress and does not itself record a replay.
Source references:
Last updated