[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115362":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":15,"stars90d":14,"forks30d":14,"starsTrendScore":15,"compositeScore":16,"rankGlobal":9,"rankLanguage":9,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":20,"topics":21,"createdAt":9,"pushedAt":22,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":14,"starSnapshotCount":14,"syncStatus":15,"lastSyncTime":26,"discoverSource":27},115362,"blocksfield","Hcoder10\u002Fblocksfield","Hcoder10","Open-source Higgsfield for Roblox: pitch -> playable Roblox game, built in Studio by a local 27B model; ComfyUI for art, props, music. All open weights, one RTX 5090. #OpenSourceHiggsfield",null,"JavaScript",53,8,51,0,2,44.06,"MIT License",false,"main",true,[],"2026-11-03 16:24:18","2026-11-22 06:05:16","# Blocksfield\n\n**Open-source Higgsfield Games, on one GPU.** Type a pitch and get back a playable game: a three.js game that plays\nin any browser from a link (desktop or phone), or a real Roblox place you open in Studio. Open-weight models plan\nit, code it, make its art, music and sound in ComfyUI, play it, look at it and fix it. They all take turns on a single\nRTX 5090, at $0 per generation.\n\n> Entry for Comfy's [Open Source Higgsfield](https:\u002F\u002Fcomfy.org\u002Fopen-source-higgsfield\u002F) challenge. #OpenSourceHiggsfield\n\n**Play the games: https:\u002F\u002Fhcoder10.github.io\u002Fblocksfield\u002F**\n\n## Why\n\nHiggsfield's Games 2.0 turns a prompt into a hosted browser game, using GPT-6 Astra plus paid generation credits.\nThe \"Roblox + Higgsfield\" videos online work differently: a chatbot writes code, a person pastes it into Studio\nby hand, and Higgsfield makes the promo video. Blocksfield does the whole loop locally:\n\n- **It makes the game, not a trailer.** On the web the result is a game you play from a link, on a phone too;\n  on Roblox it is a place you open, play and publish.\n- **It builds a real Roblox place**, saved as `.rbxlx`, that you open, play and publish. Roblox has 100M+ daily\n  players; a hosted demo does not.\n- **The model builds in Studio and looks at what it built.** The world is made in Roblox Studio's edit mode, as real\n  instances saved in the place, not as a script that builds it at runtime. After each step the model plays the game\n  and looks at it: from the player's view, plus an overview, a side view and a top-down view framed on the world it\n  made, or from any camera it chooses. It gets runtime errors and a judge's score against the generated concept art,\n  and keeps fixing until it reads right. Blind code generation stops at \"it runs\"; this loop is what makes the\n  result look good.\n- **The art is generated.** Concept frames, UI art and icons come from Qwen-Image-2.1. Textured 3D props come\n  from TRELLIS.2 and are imported into the place as MeshParts. Trailer shots are animated from real gameplay\n  captures with LTX-2.5 and scored with ACE-Step.\n- **Every model runs on one 5090.** A GPU arbiter time-slices the card. The 27B LLM sleeps to host RAM (vLLM\n  sleep mode) while ComfyUI runs an art job, then wakes. A burst of art requests shares one swap. The live\n  dashboard shows which model holds the card at each moment.\n\n## Web games (three.js)\n\nThe web target turns a pitch into a static three.js game: one `game.js` of a few hundred lines that composes\n**ThreeKit**, our kit library, plus the art, music and sound generated for it. Every finished game is published to\n**https:\u002F\u002Fhcoder10.github.io\u002Fblocksfield\u002F** with its thumbnail, a gameplay video and a \"How it was made\" page (the\nplan, the concept board, every generated asset, the judged versions, the build log and any operator interventions).\nThe gallery lists untouched games first, ordered by judge score and then newest. A game with operator\ninterventions carries a chip with the count, and its making-of page lists every change. A superseded game is hidden\nonce its replacement has finished. Today all 15 listed games are untouched. The games play with keyboard or gamepad\non desktop, and with touch on phones (landscape).\n\n### How a game gets made\n\n`python -m blocksfield.web_run` runs these stages. Each stage's result is kept in `runs\u002Fweb_\u003Cid>\u002Fstages\u002F`, so a run\nresumes after the last finished stage, and `--redo \u003Cstage>` reruns a stage and everything after it.\n\n1. **Plan.** The lead (Qwen3.8-27B) designs the game as schema-checked JSON whose enums are the kits' own option\n   lists (level kind, look, player type, rules, assets), read from the kit code itself.\n2. **Art, in one burst through the arbiter.** A concept board (Qwen-Image-2.1), which is the judge's target; a sky\n   panorama; UI icons (Qwen-Image-2.1 + BiRefNet cut-outs); music (ACE-Step 1.5); sound effects (Stable Audio 3);\n   and props: Idol lifts a generated image to a Gaussian splat, shipped both as a `.spz` splat rendered in the browser\n   (Spark) and as voxel boxes (`blocksfield\u002Fsplat_to_parts.py`) for the fallback and the collider.\n3. **Scaffold.** A working `index.html` + `game.js` generated straight from the plan.\n4. **Build.** A builder agent customises `game.js` with file tools and the kit docs, and plays the game in real\n   Chrome (`play_game`) as it works.\n5. **Judge and repair.** Every version is played by the autopilot bot in Chrome through `window.__kit` (does it load,\n   console errors, how far it moved, what it collected) for a play score, and a vision judge scores survey shots and\n   the player's view against the concept board. The combined score is the mean of the two (a broken game never wins\n   on looks). A repair agent fixes what the judge found. The best version is kept: fewer errors first, then the\n   playtest, then, within the judge's noise, a pairwise A\u002FB judge. A repair never ships a regression.\n6. **Finalize.** The best version is restored; the thumbnail, an autopilot gameplay video and `about.json` are\n   written to `web\u002Fgames\u002F\u003Cid>\u002F`.\n\n### Run it (web)\n\nSame GPU box as the Roblox target (step 1 of \"Run it (Roblox)\" below). The laptop needs Python and Chrome; no Roblox\nStudio.\n```bash\nexport BLOCKSFIELD_BOX=\"-p \u003Cssh port> root@\u003Cbox>\"\npython -m blocksfield.web_run --check                                   # tunnel, arbiter, LLM, Chrome, kit catalog\npython -m blocksfield.web_run \"A neon kart race around a seaside track at night ...\" --id neon_drift\npython -m blocksfield.web_queue runs\u002Fweb_queue.json --max 2             # keep the box busy: a JSON list of {id, pitch}\npython web\u002Ftools\u002Fbuild_index.py                                          # games\u002Findex.json for the gallery\npython deploy\u002Fpublish_pages.py --push                                    # publish web\u002F to GitHub Pages\n```\n`deploy\u002Flaunch_web.ps1 -Pitch \"...\" -Id \u003Cid>` starts a detached build on Windows. `--dry-run` uses a fake LLM and\nfake ComfyUI with real Chrome. `--intervention \"...\"` records a hand edit in the game's `about.json`, and the gallery\nshows it on the game's page.\n\n### Blocksfield Studio\n\nThe app face of the web pipeline: a local web app where you type a pitch and watch the game get made. It shows the\nplan, the concept board, every generated asset (sky, icons, music, sound, props), the builder's playtests, each judged\nversion with its scores, and finally the playable three.js game. A live strip shows who holds the GPU second by second\n(the 27B LLM or ComfyUI), read from the arbiter. A finished build can be replayed \"live\" (`\u002Frun\u002F\u003Cid>?replay=auto`,\nlabelled as a replay in the UI).\n\n```bash\npython -m blocksfield.studio                    # http:\u002F\u002F127.0.0.1:8420\u002F  (needs the arbiter tunnel for the live GPU strip)\npython -m blocksfield.studio --allow-launch     # also lets \"Make game\" start real builds (blocksfield.web_run)\npython -m blocksfield.studio_record --run neon_drift   # a scripted 15 s 1920x1080 clip -> video\u002Fstudio_take.mp4\n```\nWithout `--allow-launch` the pitch box never starts a build; it opens the latest run instead. With it, \"Make game\"\nruns `python -m blocksfield.web_run \"\u003Cpitch>\" --id \u003Cslug>` detached (set `BLOCKSFIELD_BOX` as above), logging to\n`runs\u002Fweb_\u003Cid>\u002Fbuild.log`, and opens that run's live view. Pages: `\u002F` (create), `\u002Frun\u002F\u003Cid>` (a build), `\u002Fruns` (every\nweb game).\n\n### ThreeKit: the web kit library\n\nThe same idea as the Roblox kits below: the model composes tested, good-looking parts and never writes a shader,\nphysics or UI CSS. `web\u002Fkit\u002FCONTRACT.md` is the shared API, and each module has a doc the builder reads.\n\n| Module | What it gives a game | Doc |\n|---|---|---|\n| `core.js` | `createGame`: renderer, scene, camera, Rapier physics world, game loop, events, assets manifest | [CONTRACT.md](web\u002Fkit\u002FCONTRACT.md) |\n| `look.js` | One-call art direction (toon_bright, candy, sunset, neon_night, dark_fantasy, cozy, desert, snow, realistic): sky, sun and shadows, fog, ink outlines, bloom, grade, toon materials, a palette | [Look.md](web\u002Fkit\u002Fdocs\u002FLook.md) |\n| `world.js` | Terrain, islands, water, plazas, instanced foliage, clouds, props, static batching | [World.md](web\u002Fkit\u002Fdocs\u002FWorld.md) |\n| `level.js` | One call builds a dressed, playable level: `sky_islands`, `meadow_course`, `arena`, `town`, `race_track`, `lagoon`, `canyon`; or the model lays out its own level from pieces with `Level.compose` | [Level.md](web\u002Fkit\u002Fdocs\u002FLevel.md) |\n| `mechanics.js` | The model adds or changes mechanics: tuning (speed, jump, air jumps, dash, glide, size), power-ups, interactables (keys and doors, switches, crates, zones...), trigger -> effect rules, and a sandboxed custom hook for anything else | [Mechanics.md](web\u002Fkit\u002Fdocs\u002FMechanics.md) |\n| `assets.js` | Generated sky panoramas, icons, textures, music, sfx and Idol splat props, each with a procedural fallback | [Assets.md](web\u002Fkit\u002Fdocs\u002FAssets.md) |\n| `physics.js` | Rapier helpers: colliders, kinematic movers, sensors, raycasts | [Physics.md](web\u002Fkit\u002Fdocs\u002FPhysics.md) |\n| `player.js` | Controllers (platformer, kart, boat, topdown, fps) with a procedural character, keyboard + gamepad | [Player.md](web\u002Fkit\u002Fdocs\u002FPlayer.md) |\n| `camera.js` | Follow, chase, orbit and top-down cameras with collision and smoothing | [Camera.md](web\u002Fkit\u002Fdocs\u002FCamera.md) |\n| `gameplay.js` | Collectibles, checkpoints, hazards, enemies, goal, timer, lives, races with AI opponents, and the autopilot bot | [Gameplay.md](web\u002Fkit\u002Fdocs\u002FGameplay.md) |\n| `ui.js` | A HUD bound to the game state, banners, title \u002F pause \u002F win \u002F lose screens, dialog, countdown; five styles | [UI.md](web\u002Fkit\u002Fdocs\u002FUI.md) |\n| `fx.js` | GPU particles, confetti, trails, floating text, screen shake, hit flash, speed lines, slow-mo | [FX.md](web\u002Fkit\u002Fdocs\u002FFX.md) |\n| `audio.js` | Music with crossfade, sfx with variation, procedural fallback sounds; wired to game events automatically | [Audio.md](web\u002Fkit\u002Fdocs\u002FAudio.md) |\n| `debug.js` | `window.__kit`: the harness API (survey cameras, state, input, autopilot) the playtests and the judge use | [Debug.md](web\u002Fkit\u002Fdocs\u002FDebug.md) |\n| `touch.js` | Phones: a virtual joystick and buttons per player type, camera drag, tap to start, a rotate-your-phone hint | automatic |\n| `assist.js` | Unsticks the player: `R` (or the ↺ button on phones) resets you a little way back; karts stuck or off the track and boats run aground are put back on their own | automatic |\n| `cutscene.js` | Plays a game's intro \u002F win \u002F lose clips (LTX-2.5, see below), skippable with any key or a tap | automatic |\n\n**Every game gets these without asking:** touch controls on phones, the reset assist, cutscenes when the game has\nthem, and graphics quality tiers. A probe measures the frame rate during play and picks `high`, `low` (no shadows or\nbloom, FXAA, fewer grass blades) or `potato` (lower resolution, no post-processing); `?quality=low` (or `high`,\n`potato`) on the URL forces a tier.\n\n**What the model uses them for.** In the current gallery, Spire Climb and Riverbend Canyon lay out their own levels\nwith `Level.compose`. Turbo Treats, Spire Climb, Riverbend Canyon and Vault Hopper add their own mechanics, for\nexample a Sugar Rush speed rule, glide power-ups, key-and-door vaults and a floor-is-lava rule. Turbo Treats (oil\nslicks that spin your kart out) and Riverbend Canyon (log rafts you ride) also write custom sandboxed code.\n\n**Cutscenes.** After a game is built, a uniform pipeline stage animates its concept frames into short intro, win\nand lose clips with LTX-2.5 (image-to-video, in ComfyUI). Before a clip is published, an agent reviews a frame sheet\nof it and drops any clip with garbled lettering or an off-model character, so some games have fewer clips or none.\nEach game's `about.json` (`post_stages`) lists the clips it shipped.\n\n## Models (all open weights)\n\nThe web games use the LLM, Qwen-Image-2.1 + BiRefNet, Idol, ACE-Step, Stable Audio and LTX-2.5 (cutscenes); in the browser they run on\nthree.js, Rapier (physics) and Spark (Gaussian splats).\n\n| Role | Model | Runs in |\n|---|---|---|\n| Game design, Luau \u002F JavaScript code, vision judge | Qwen3.8-27B NVFP4 (`RedHatAI\u002FQwen3.8-27B-NVFP4`) | vLLM 0.32 (sleep mode) |\n| Concept art, UI art, icons, thumbnail | Qwen-Image-2.1 turbo int8 + BiRefNet cut-outs | ComfyUI |\n| 3D props (meshes, Roblox) | TRELLIS.2 → decimated under Roblox's 20k-triangle limit | ComfyUI |\n| Procedural props | Idol (`speridlabs\u002Fidol`, image → Gaussian splat in ~2 s) → voxel \u002F blob Parts (Roblox); `.spz` splat + voxels (web) | ComfyUI (custom node in `comfy_nodes\u002Fidol`) |\n| Web game cutscenes; Roblox trailer | LTX-2.5 distilled NVFP4, image-to-video | ComfyUI |\n| Music | ACE-Step 1.5 turbo | ComfyUI |\n| Sound effects | Stable Audio 3 small-sfx (t5gemma text encoder) | ComfyUI |\n| Demo video voiceover only (not part of the pipeline) | Kokoro TTS | local |\n\n## Roblox target\n\nThe original target: a pitch becomes a real Roblox place, built inside Roblox Studio.\n\n### The kit library: why a 27B model can make good-looking games\n\nA local 27B model can't write a vehicle controller, an animated HUD or a lighting rig to the standard of a top\nRoblox game. In our live runs it reliably failed in the same ways: geometry that renders as nothing, noon lighting\nfor \"golden hour\", and contracts between its own files that don't match. It does reliably *compose* well-made parts.\nSo Blocksfield gives it a library of genre-general kits, each tested in Studio, and the game is the model's choices\non top of them: the design, layout, art direction, tuning and UI. The kits live in the harness's\n`harness\u002Fkit\u002F`, and every builder gets their API plus routing rules for which kit to use when.\n\n| Kit | What it gives a game |\n|---|---|\n| **LookKit** | One-call art direction: toon_bright, realistic, cozy, neon_night, dark_fantasy, snow, desert, candy, space (lighting, atmosphere, sky, post-processing, terrain colours, a palette), plus MaterialVariants from generated textures, outlines and cel helpers |\n| **LevelKit** | One call builds a whole dressed, gameplay-tagged level in any look: `sky_islands` (a hub you spawn on, islands rising in an arc, jump courses between them), `meadow_course`, `arena`, `town`. Checkpoints, coins, goals, hazards and movers come tagged for the gameplay code |\n| **WorldKit \u002F WorldKit2** | Sculpted terrain islands and water, 12 biomes, 63 stylised prop kinds, builders for race courses, N64-style platforming courses, arenas, interiors (kitchen, tavern, lab…), towns and dungeons, with gameplay hooks |\n| **ControllerKit** | Feel profiles: platformer (coyote time, buffering, double and long jump, dive, ground pound, wall kick), top-down \u002F isometric, FPS\u002FTPS shooter (ADS, recoil, viewmodel, server-validated hits), arcade vehicles (kart, car, hover, boat; drift-boost tiers, chase camera) |\n| **GameplayKit** | Self-wiring, server-authoritative systems: rounds, score, objectives, health and damage, NPC AI with waves, collectibles, interactables, cooking\u002Fcrafting stations and recipes, inventory, checkpoints, races with AI followers, moving hazards |\n| **UIKit** | ~25 animated, themed components (arcade, cozy, tactical, fantasy, toon): banners, countdowns, rolling counters, bars, dials, minimap, standings, crosshair, ammo, dialog, hotbar, shop cards, results |\n| **FXKit** | 51 VFX presets in four styles (movement, combat, pickups, ambient weather) plus screen juice |\n| **PropKit** | Spawns generated procedural props (Luau data modules of Parts) with scale, tint, palette swap, collision and anchoring options |\n\n**Procedural props.** `generate_prop` turns a prompt into an editable prop with no upload step: Qwen-Image draws it\non a clean background, Idol lifts it to a Gaussian splat, and `blocksfield\u002Fsplat_to_parts.py` clusters the splat into\nRoblox Parts (a greedy-merged voxel style with a quantised palette, or smooth k-means blobs). The result is a plain\nLuau module in `ReplicatedStorage\u002FShared\u002FProps\u002F`, so the model can re-tint, rescale, scatter or edit it like any other\ncode, and `PropKit.spawn` places it. If Idol is unavailable it voxelises a TRELLIS.2 mesh instead.\n\nThe ComfyUI asset tools (above) fill the kits' art slots: generated skyboxes, tileable textures, UI art, icons,\nsound effects and music.\n\n### How it fits together\n\n```\n laptop (Windows\u002FMac)                          GPU box (one RTX 5090)\n ┌──────────────────────────┐   ssh tunnel   ┌───────────────────────────────────────────────┐\n │ Roblox Studio + bridge   │                │ arbiter :8100   ── LLM turn ──▶ vLLM :8000      │\n │ build harness (agents)   │ ─────────────▶ │   \u002Fv1  \u002Fgenerate  \u002Fjob  \u002F     ── art turn ─▶ ComfyUI │\n │ blocksfield.run          │                │   (sleep LLM → run workflows → free → wake LLM) │\n └──────────────────────────┘                └───────────────────────────────────────────────┘\n```\n\n- `blocksfield\u002Farbiter.py`: the GPU turn-taking server and the live dashboard.\n- `workflows\u002Fapi\u002F*.json`: the ComfyUI workflows (API format, with `{{param}}` slots): `image`, `image_rgba`,\n  `edit`, `prop3d`, `prop_splat`, `music`, `sfx`, `trailer_clip`.\n- `blocksfield\u002Frun.py`: build a game from a pitch.\n- The harness's `harness\u002Fstudio_build.py`: the builder's Studio tools. `studio_build` runs Luau in edit mode (logged,\n  and replayed if Studio restarts; the finished place is saved from Studio). `studio_view` plays the game and returns\n  framed survey shots, errors and a judge score. It refuses the moves that wrecked worlds in our live runs: fogging\n  or re-grading the kit's tuned look, hand-sculpting terrain, and wiping the whole world to start again.\n- `blocksfield\u002Fmarketing.py`: thumbnail, icon and trailer from the built game.\n- `blocksfield\u002Fharness_ext.py`: the builders' extra tools: `generate_model` (prompt → 3D prop in the place) plus\n  everything in `blocksfield\u002Fasset_tools.py`.\n- `blocksfield\u002Fasset_tools.py`: `generate_texture` (seamless MaterialVariant colour maps), `generate_skybox` (six\n  wrapped Sky faces from a panorama and a zenith image), `generate_sfx`, `generate_music`, `generate_icon` and\n  `generate_ui_art` (panels, buttons, banners, badges with 9-slice centres), and `generate_prop` (prompt → procedural\n  Parts prop, above). Each is a ComfyUI workflow through the\n  arbiter; the files are installed into Studio's local content folder as `rbxasset:\u002F\u002Fcybus\u002F\u003Crun>\u002F\u003Cfile>`.\n- The build harness, which handles plan → style guide → architecture → build → Studio capture → vision judge →\n  repair → polish, is [cybus-harness](https:\u002F\u002Fgithub.com\u002FHcoder10\u002Fcybus-harness\u002Ftree\u002Fblocksfield) (branch `blocksfield`).\n\n### Try the Roblox demo game (no GPU needed)\n\n`examples\u002Fstarbloom_peaks.rbxlx` is Starbloom Peaks, the game in the demo video, as the pipeline built it. Open it in\nRoblox Studio and press Play. For its one generated UI glyph, first copy `examples\u002Fcontent\u002Fcybus` into Studio's\ncontent folder (Windows: `%LOCALAPPDATA%\\Roblox\\Versions\\\u003Cversion>\\content\\`); without it the star icon is blank.\n\n### Run it (Roblox)\n\nYou need a Linux GPU box with one 32 GB card (we use a rented RTX 5090) and a Windows or Mac machine with Roblox\nStudio. They can be the same machine.\n\n**1. GPU box: models and servers.**\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FHcoder10\u002Fblocksfield \u002Froot\u002Fblocksfield && cd \u002Froot\u002Fblocksfield\nbash deploy\u002Fbox_setup.sh all        # ComfyUI + vLLM venvs, ~106 GB of open weights (LTX-2.5 needs its HF gate accepted)\nbash deploy\u002Fstart_servers.sh all    # vLLM :8000 (sleep mode), ComfyUI :8189, arbiter :8100\n```\nOpen `http:\u002F\u002F\u003Cbox>:8100\u002F` to watch the GPU timeline.\n\n**2. Studio machine: bridge and harness.**\n- Install the Studio Bridge plugin and server\n  ([roblox-studio-mcp](https:\u002F\u002Fgithub.com\u002FHcoder10\u002Froblox-studio-mcp)). Start it with `node packages\u002Fserver\u002Fdist\u002Findex.js`, which serves\n  `localhost:3000`.\n- Clone [cybus-harness](https:\u002F\u002Fgithub.com\u002FHcoder10\u002Fcybus-harness) next to this repo:\n  `git clone -b blocksfield https:\u002F\u002Fgithub.com\u002FHcoder10\u002Fcybus-harness`.\n- Put `luau-analyze`, `luau-lsp` and `rojo` on PATH.\n\n**3. Build a game.**\n```bash\nexport BLOCKSFIELD_BOX=\"-p \u003Cssh port> root@\u003Cbox>\"         # the runner opens the ssh tunnel to the arbiter itself\npython -m blocksfield.run --check                         # tunnel, arbiter, LLM, bridge, Studio, tools\npython -m blocksfield.run \"A neon obby tower in the clouds with laser gates and checkpoints\" --id neon_obby\npython -m blocksfield.marketing runs\u002Fneon_obby            # thumbnail, icon, trailer from the built game's captures\npython -m blocksfield.export_place runs\u002Fneon_obby --look toon_bright   # the Studio-built world -> place\u002Ffinal.rbxlx\npython -m blocksfield.capture_footage --attach --place runs\u002Fneon_obby\u002Fplace\u002Ffinal.rbxlx   # orbit\u002Fdolly\u002Fhero clips\npython -m blocksfield.promo_video --run runs\u002Fneon_obby --out video\u002Fpromo.mp4             # the demo cut\n```\nThe build opens its own Studio place, plays it, judges every capture against the concept board, and repairs the\ngame. The finished place is `runs\u002F\u003Cid>\u002Fplace\u002Ffinal.rbxlx`.\n\nBuilders always get the art and audio tools through `HARNESS_EXTRA_TOOLS=blocksfield.harness_ext:tools` (the runner\nsets it).\n\n**Optional: 3D props.** Set `ROBLOX_API_KEY` (Open Cloud, Assets read and write) and `ROBLOX_CREATOR_ID`. Builders then\nalso get a `generate_model` tool (Qwen-Image → TRELLIS.2 → decimated GLB → uploaded → loaded into the place).\n\n#### The ComfyUI workflows\n\n`workflows\u002Fapi\u002F` holds the API-format workflows the arbiter runs, with `{{param}}` slots and defaults in\n`\u003Cname>.meta.json`:\n\n| Workflow | What it does |\n|---|---|\n| `image` | Qwen-Image-2.1 turbo text-to-image at native ~2K |\n| `image_rgba` | the same image, then a BiRefNet cut-out to RGBA (UI art, icons) |\n| `edit` | Qwen-Image-2.1 edit with two reference images (thumbnail and icon from real captures) |\n| `prop3d` | prop image → TRELLIS.2 → remesh → QEM decimate to 15k triangles → baked PBR textures → GLB |\n| `prop_splat` | prop image → Idol → Gaussian splat `.ply` (then `splat_to_parts` → Luau) |\n| `music` | ACE-Step 1.5 turbo, instrumental, any length |\n| `sfx` | Stable Audio 3 small-sfx text-to-audio, 1-4 takes per call, MP3 |\n| `trailer_clip` | LTX-2.5 distilled image-to-video, 720p, with its own audio |\n\nDrag any of them into ComfyUI to see and edit the graph. `python -m blocksfield.comfy run \u003Cname> key=value`\nruns one headless.\n\n## License\n\nMIT for this repository (see `LICENSE`). Each model keeps its own licence (see the table above); check them before any\ncommercial use.\n\n## Honest notes\n\n- **What's verified.** Every kit was screenshotted in Studio: UIKit, LookKit and WorldKit2 look good; ControllerKit\n  and GameplayKit run without errors (their *feel* has not been playtested by a person); FXKit was retuned after its\n  first Studio pass showed effects too small. All six ComfyUI asset tools ran end to end on the 5090.\n- **Web games: operator interventions.** Every web game records any hand action in its `about.json`\n  (`operator_interventions`), and its gallery page lists them. All 15 games in the gallery have zero. Nine earlier\n  runs are superseded (`superseded_by`) by fresh re-runs of the same pitch and are no longer listed. Five of them had\n  interventions, mostly re-running a stage after an LLM outage or a pipeline fix (`--redo`, `--backfill-assets`).\n  Their folders and records are still in `web\u002Fgames\u002F`. Four games (Turbo Treats, Spire Climb, Riverbend Canyon,\n  Vault Hopper) record a separate incident (`incidents`): a duplicate builder process of the pipeline ran on their\n  run directories for four minutes and was killed.\n- **Roblox: operator interventions.** Where a build's own code crashed on a one-line bug its repair rounds missed, we fixed\n  that line by hand so the rest of the build could be judged, and we logged every such edit in the run's\n  `OPERATOR_NOTES.md`. Everything else in a game is written by the local model.\n- **What we learned running a 27B model as the builder.** It composes kits well but cannot tune a look. Left free in\n  Studio it fogged the world, graded everything orange, hand-sculpted flat terrain slabs and wiped its world every\n  round. Advice in the prompt did not stop that; hard refusals in the tools and one-call LevelKit presets did. Every\n  harness change made during the night is in the cybus-harness history with the live failure that prompted it.\n- **What the model still gets wrong.** Its own glue code: type confusion, such as passing a `Color3` to\n  `Color3.fromHex` or indexing a `Vector3` like a table, and API slips hidden behind untyped helpers. The kits\n  removed whole classes of failure; strict typing in builder files is the next step.\n- **Licences.** This repository is MIT. Model licences vary: Qwen-Image-2.1 is research-only (non-commercial), and\n  LTX-2.5 and Stable Audio 3 use community licences. Qwen3.8, TRELLIS.2, ACE-Step and BiRefNet are\n  permissive. Check each one before any commercial use.\n","Blocksfield 是一个开源的端到端游戏生成系统，将自然语言游戏创意（pitch）自动转化为可玩的 Roblox 场景（.rbxlx 文件）或跨平台 three.js 浏览器游戏。其核心采用本地运行的 27B 开源大模型统筹规划、编码与迭代，并集成 ComfyUI 流水线生成概念图、3D 网格道具（TRELLIS.2）、音乐音效及 gameplay 动画；所有模型共享单张 RTX 5090 GPU，通过时间切片调度实现全流程本地化闭环。适用于独立开发者快速原型验证、教育场景中的游戏设计实践，以及 Roblox 内容创作者的低门槛自动化资产生成。","2026-11-24 04:50:48","CREATED_QUERY"]