A playable 3D game in a single HTML file. A pelican in a bowler hat pedals a bicycle down a long city boulevard at dusk: purple-pink sky, a huge white sun at the end of the street, plum and brick towers with warm window grids, cyan neon road edges and a yellow dashed centre line. The player steers through glowing rings, hops over to high rings, launches off orange ramps and spins before landing. The sky switches from dusk to moonlit to daybreak along the way. A run of the default 1,500 m course takes about 75 seconds and ends on a score card. It works with keyboard and with touch buttons on a phone, and makes no network request.
## Visual contract
`references/visual-contract.md` lists what makes this look: the dusk palette, the low sun at the end of the street, the neon edge lines, the window grids, the rider silhouette and the HUD layout, with measurements. Keep every item. `references/game/game.html` is the editable source; `references/template.html` is the same game built into one file, the worked example to open first.
## Steps
1. **Copy** - copy `references/game/` (game.html, vendor/, fonts/, art/) into the user's project folder.
2. **Configure** - edit only the `CONFIG` and `THEMES` blocks at the top of the script in `game.html`: `title`, `subtitle`, `kicker`, `tagline`, `finishText`, `mission`, `courseLength`, `theme`, `skyCycle`, `camera`, `seed`, `units`, `player`, `ramp`, `score`, `layout`, `rider`, `art`. Write every user-facing string in the user's language.
3. **Art (optional)** - put images in `art/` and set `CONFIG.art.windows` (512 x 960 window grid) or `CONFIG.art.road` (128 x 256 road tile). Leave `null` to keep the procedural default.
4. **Build** - `node scripts/build-game.mjs game.html index.html` inlines three.js, fonts and art into one file. It refuses to build if anything still points to the network.
可改欄位 頁面短文字 · 頁面段落 · 頁面圖片
使用步驟
選擇用法
在 Studio 瀏覽器裡直接改,或裝進自己的 AI,更自由地創作。
用 Studio 開啟 編輯 修改可用欄位 匯出。有編輯器的免費包無需登入;付費包編輯及匯出需購買或會員。