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 打开 编辑 修改可用字段 导出。有编辑器的免费包无需登录;付费包编辑和导出需购买或会员。