The gap
A time-trial lives on fair medal times, exact ghosts and good handling; tuning all three by hand for every track is slow, and so is building the tracks.
Game templates
The complete TypeScript and three.js source of Skidlark, a kart time-trial: ten short tracks and a daily one, drift boosts, medal times and a ghost of your best lap. An autopilot proves every track.
Coming soon
Not published on its store yet, so there is no buy or download link. PN Scripts does not take payment for it here.
The gap
A time-trial lives on fair medal times, exact ghosts and good handling; tuning all three by hand for every track is slow, and so is building the tracks.
What it is
A finished, tested kart time-trial whose ghosts replay exactly, whose medals come from the track and whose tracks an autopilot proves.
How you use it
Unzip, run npm ci and npm run dev, then edit src/game.config.ts; npm test checks the game again in seconds.
Source code of a real, playable game to reskin and learn from, with its proofs built into the tests.
Use it when
Built for
Title, save key, handling (engine, grip, drift, boost, walls), tracks as seeds, seven themes with scenery, medal factors, kart paints and sound.
Tracks are generated and validated from seeds, medal times come from their shape, and an autopilot beats gold on every track on each npm test.
Ten tracks and a daily track, drift boosts, four medals per track, a ghost with checkpoint splits, kart paints, instant restart, desktop and phone controls.
30 unit tests and Playwright browser runs, a size budget, an upload zip for itch.io or any static host, and a guide to adding tracks and tuning the handling.
1 of 3
| Platform or runtime | Supported versions | Tested up to |
|---|---|---|
| Node.js | 22.12 or newer | Not stated |
The template is finished and tested. It is not on sale yet; this page will say where to get it when it is.
Coming soon
Not published on its store yet, so there is no buy or download link. PN Scripts does not take payment for it here.