▦ build0 / CITY

Make something worth exploring.

Creator tools are available inside your lot’s experience editor. Your AI client can use the same features through the build0 MCP server. Drafts and private tests stay separate from the published game.

1. Check before publishing

Save a revision, then choose Creator tools → Release → Check saved revision. The server checks script syntax, missing or undeclared literal assets, declared spawn bounds, controls information and asset budgets. Errors block publication. Warnings highlight potential problems.

Run the game and choose Check running scene & models to validate the current scene and load its GLBs. Check movement, looking, safe spawn, audio and performance yourself. A static report cannot prove arbitrary game code is playable or predict frame rate on every device.

check_experience({ lot_id: "lot_0_0", revision: 15 })

2. Share a private test

Create a test link for a saved revision. Links last 1–168 hours (24 by default) and can be revoked individually. Anyone with the link can play that revision, so share it privately. These pages are excluded from indexing. They never replace the public game; test progress stays on the tester’s device and separate from live progress.

create_test_link({ lot_id: "lot_0_0", revision: 15, hours: 24 })
revoke_test_link({ lot_id: "lot_0_0", preview_id: "…" })

Revocation stops new game/asset requests immediately; already running tests are stopped at the next availability check, within 30 seconds. Already downloaded files cannot be remotely erased.

3. Restore a published revision

Open Release → Published history → Restore live. Confirm the exact revision. The server checks that the current live version has not changed since you opened the history. Saved versions are retained. Visitors on that lot receive the restored version automatically; their game session restarts without a website refresh. This restores the game script and declared assets, not the separate city exterior.

rollback_experience({ lot_id: "lot_0_0", revision: 14, expected_published_revision: 15 })

4. Reusable game parts

These APIs provide durable state and interaction logic. Use your own art and scene objects for their appearance. For example, opening a door must also update its visible object and physics collider; the storage component does not guess your geometry.

door

const door = gw.components.door('gate'); door.toggle(); door.isOpen(); door.set(true); Update matching scene geometry and colliders when it opens.

checkpoint

const cp = gw.components.checkpoint(); cp.activate([0,2,5]); cp.get(); Use gw.physics.setPosition('player', cp.get()) to respawn.

inventory

const bag = gw.components.inventory(); bag.add('key'); bag.count('key'); bag.take('key'); bag.items();

photoBook

const book = gw.components.photoBook(); book.capture('species_1'); book.entries(); The game must decide whether the subject is in view; entries store IDs, not screenshots.

quest

const quest = gw.components.quest('lights',12); quest.advance(); quest.progress(); quest.complete();

dialogue

const npc = gw.components.dialogue('keeper',['Welcome.','Find the relics.']); npc.current(); npc.next(); npc.reset(); Render current text with gw.hud().

Photo books store subject identifiers. The game controls camera aiming, discovery rules and UI; this API does not take screenshots.

5. Five original starter games

Use Creator tools → Startgames to create a saved draft, or ask your AI client to call create_starter_game. Existing published content stays live. Each starter includes original procedural scenery, first person walking and looking, sound cues, persistent goals and an editable script.

Lantern Grove

Collect twelve wandering lights and bring them to the lantern shrine.

firefly · Dew Garden

Copper Ruins

Find the three relics in order, speak to the keeper, and open the ancient gate.

relic · Copper Hour

Ribbon Run

Sprint through eight gates in order. Beat your saved personal best.

circuit · Candy Circuit

Petal Field Notes

Photograph eight moving butterflies. Each discovery joins your field book.

garden · Dew Garden

Starfall Observatory

Activate six constellation beacons in order to restore the observatory.

observatory · Quiet Observatory

6. Blender on your computer, publication on build0

Your AI client connects to two servers: the local Blender MCP controls Blender on your PC; the build0 MCP uploads and attaches assets to the lot. The build0 server cannot read files on your computer directly.

  1. Ask the AI to call get_blender_publish_guide for the target lot. It returns the lot bounds, export instructions and limits.
  2. In Blender, select the collection’s objects. Use the export helper through the Blender MCP. Set an absolute EXPORT_PATH ending in .glb. The helper reports world bounds, scale, materials, missing textures and animation actions, then exports the selection using embedded GLB textures and Y-up.
  3. Your local AI client reads the exported GLB and calls upload_model on build0. Server validation checks the real file and rejects invalid or over-budget assets.
  4. Call describe_asset with a name and tags. Optionally call optimize_model; the original uploaded GLB remains available and the variant links back to it.
  5. Update the existing scene object’s asset reference or the game script and asset_ids. Inspect animation clip names. Save a draft, check it and share a private test before publishing.

Keep .blend, FBX and source textures on your computer. The platform retains uploaded GLB/WAV files and optimized GLB variants. It does not store native .blend/FBX projects. Scaling a displayed model is controlled by the scene object’s scale; the platform normalizes GLBs to their longest dimension.

7. Asset library

Search by name or ID and filter by tag. Preview GLBs in 3D or listen to WAVs, inspect animation clips, download uploads, see scene-object and game-revision usage, and create optimized variants. Assets are immutable: a replacement receives a new ID, preserving old published revisions and test builds. The library is scoped to the lot you can edit.

8. Visible build stages

Begin a build and use the returned session ID when reporting work. The construction banner shows creating models, uploading, checking, saving and preparing publication. Stale agents cannot update a newer session. Stage labels describe work reported by the AI client; Blender operations are not automatically observable by the server.

begin_lot_build({ lot_id: "lot_0_0" })
set_build_stage({ lot_id: "lot_0_0", session_id: "returned-session-id", stage: "models", message: "Creating butterfly wings" })

9. Keep progress safe across changes

Set maker_config.saveVersion when changing save keys. Provide consecutive declarative migrations. Renames copy values to the new keys while retaining the originals, and defaults only fill absent keys. The complete result is validated before being saved. Missing migration steps stop the incompatible update and retain existing progress. Older restored games still see original keys; makers must keep old and new field semantics compatible.

save_experience({
  lot_id: "lot_0_0", revision: 15, name: "My game", code: "…", asset_ids: [],
  maker_config: {
    controls: "WASD move, mouse look, F photograph", spawn: [0, 2, 10],
    saveVersion: 1,
    migrations: [{ from: 0, to: 1, rename: [{ from: "collection", to: "photos_main" }], defaults: { chapter: 1 } }]
  }
})

Progress has a 30 KB limit. Migrations cannot run arbitrary server code and do not infer changes to nested quest structures. Plan and privately test your data changes.

10. Coordinated style packs

Call gw.style('garden'), 'neon', 'sunset', 'mist' or 'arcade'. A pack applies matching light, background, ground, fog, effects and particles, plays a short sound cue and returns a three-color palette. Add your own licensed ambient WAV through gw.audio for continuous environmental sound. Packs honor the existing graphics and audio settings.

Open the generated MCP tool reference ↗