mirror of
https://github.com/hanzo-templates/kart-racer.git
synced 2026-10-30 20:56:27 +00:00
Circuit: the track is a closed Catmull-Rom loop and the road ribbon, the on-track test, the lap checkpoints and the autopilot racing line are all derived from it. Moving a control point moves every system — no second copy of the track to keep in sync. Autopilot runs until the first key press so the demo is alive on load rather than a parked car in an empty scene. Why a second playable game: the catalog's differentiator versus static-SPA builders is that hanzo.app can serve real engine and WASM workloads, and one example reads as a fluke. This one is input-heavy (continuous steering, brake, off-track grip loss) where the Godot entry is physics-heavy, so between them the input and simulation paths are both covered. Co-authored-by: Hanzo Dev <[email protected]>
9 lines
269 B
JSON
9 lines
269 B
JSON
{
|
|
"name": "kart-racer",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": { "build": "esbuild src/main.js --bundle --format=esm --minify --target=es2022 --outfile=app.js" },
|
|
"dependencies": { "three": "^0.185.1" },
|
|
"devDependencies": { "esbuild": "^0.25.0" }
|
|
}
|