一键导入
tinyworld-tinyverse-race-track
Use when changing the Tinyverse ground-surface race track, perimeter bridge loop, rally karts, or poser-surface show/hide hook.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when changing the Tinyverse ground-surface race track, perimeter bridge loop, rally karts, or poser-surface show/hide hook.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when changing Tiny World Builder renderer setup, shadows, smoke, voxel clouds, ghost board render cost, frame loop, or GPU performance.
Use when changing the first-class Island Viewer shell, sequential generated-island viewer routing, or viewer-scoped graphics defaults.
Use when adding, importing, designing, reviewing, or animating low-poly / stylized 3D assets in Tiny World Builder, including Three.js procedural meshes, GLB/GLTF assets, Poly Pizza models, material palettes, scale/orientation, silhouettes, clouds/planes/crop dusters, and toolbar thumbnails.
Use when adding or changing persisted user state — settings defaults, audio, camera/orbit, panel positions, feature flags, and the in-app "Save Defaults" pipeline that snapshots localStorage into tinyworld-defaults.json. Also covers the inline-script regex gotcha that has burned us twice.
Tinyverse collectibles lane — pack reveal, frozen islands, play-mode visits. Universe carousel is archived but code stays in repo.
Use when changing Tiny World Builder API, webhook, SSE, MCP, plugin, or automation examples.
| name | tinyworld-tinyverse-race-track |
| description | Use when changing the Tinyverse ground-surface race track, perimeter bridge loop, rally karts, or poser-surface show/hide hook. |
The race track lives in engine/world/61-tinyverse-race-track.js.
Rules:
window.__tinyworldPoserSurface.{build,show,hide} and attaches one root group
under the poser-surface group.worldGroup directly and do not mutate editable island or home-grid cells.root.scale.y = 1 / 3 and multiply sampled terrain heights by 3 before
placing track/kart geometry.M.path, M.pathTrim,
M.bridgeWood, M.bridgeWoodD, M.castleStoneD) instead of new texture
assets. Clone them locally when the track needs fog=false readability, but
never mutate shared M.* materials.mergeStaticBaseMeshesByMaterial(...) after authoring. Dynamic karts should
stay in their own subgroup and animate by transform only.PS.hide() must hide it and clear active race state.Play rally launcher should call
watch(), descend to the poser surface, frame the route from the ground
layer, and start the race after the descent settles. Do not leave the rally as
a console-only or hidden-key feature.body.tinyverse-rally-watch to clear obstructive editor
panels and use a lightweight follower camera. Keep this state scoped to
watch() and clear it on hide.requestAnimationFrame loop. The module exposes
window.__tinyworldRaceTrack._tick(dt), and 25-animation-loop-schema.js
calls it from the main loop; _tick must stay a fast no-op while hidden.window.__tinyworldRaceTrack exposes show(),
hide(), watch(), startRace(), stopRace(), rebuild(), group(), and
routeLength().Validation:
node --check engine/world/61-tinyverse-race-track.jsnode tools/check.jsPlay rally or call window.__tinyworldRaceTrack.watch()
and confirm the app descends to the ground islands, frames the road loop, shows
the HUD, and starts moving karts.