[GH-ISSUE #376] Pixelforge 0.4.0: preference-driven world generation, themed Tier-1 atlases, non-blocking surface-side generation #188

Closed
opened 2026-10-20 17:25:13 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @kolacheee on GitHub (Aug 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/376

Originally assigned to: @kolacheee on GitHub.

What

Update Pixelforge from 0.3.0 to 0.4.0 — the generation release, developed and playtested against Engine staging (which now ships the POST /api/game/:chatId/experience-generation route from Marinara-Engine #5136).

The problem this solves: until now every Pixelforge game was the same fixed village. A player creating a sci-fi experience got Hearthvale with different narration. In 0.4.0 the player's wizard preferences drive what the world is, under the architecture "the LLM decides what exists, the algorithm decides where every tile goes":

  1. Preference-driven world generation. After launch, the surface makes one host-run structured generation call (the GM connection, a strict schema, themed guidance). The model returns a compact World Brief — settlement, cast with household structure, places, features — which a deterministic compiler turns into the tile world. 30 villagers in 6 households means ~6 houses, never 30. The sealed brief is validated, repaired, floored, and stored once in chat metadata; generation is an upgrade, never a gate — any failure (timeout, truncation, old engine without the route) lands on the themed default world.
  2. Non-blocking by design. The chat boots the themed default world instantly; generation runs behind a toast and the world rebuilds in place when the brief arrives. One-shot per chat, guarded by the stored key.
  3. Themed Tier-1 atlases. The sci-fi-colony theme gets its own authored atlas (tiles-sci-fi-colony.png) — hab panels, portholes, pressure doors, solar roofs, hydroponics trays — sharing one atlas.json id map with the cozy sheet. Asset set grows 8 → 9.
  4. A hardening batch from two adversarial review rounds, including a real-world loader fix: img.decode() never settles on hidden pages (background-tab restore), which could wedge Tier-1 assets in "loading" forever.

Compatibility

capabilityApi stays {1,10}; engine.min stays 2.4.3. The generation endpoint is a host route, not a manifest contribution — on engines without it the client seals the themed default brief and plays exactly like 0.3.0. No catalog vocabulary changes.

Try it

Install the 0.4.0 artifact on an Engine staging build, create a New Game → Experiences → Pixelforge with the sci-fi theme and a real GM connection, and launch. You should be walking in Meridian Base immediately, see "Generating your world…" as a toast, and within ~30–90s the world should rebuild into a generated colony whose zones, NPCs, and situation match your setting text. Swipe/branch rewinds and the 0.3.0 save path are unchanged.

Originally created by @kolacheee on GitHub (Aug 16, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/376 Originally assigned to: @kolacheee on GitHub. ### What Update Pixelforge from 0.3.0 to 0.4.0 — the generation release, developed and playtested against Engine staging (which now ships the `POST /api/game/:chatId/experience-generation` route from Marinara-Engine #5136). The problem this solves: until now every Pixelforge game was the same fixed village. A player creating a sci-fi experience got Hearthvale with different narration. In 0.4.0 the player's wizard preferences drive what the world *is*, under the architecture "the LLM decides what exists, the algorithm decides where every tile goes": 1. **Preference-driven world generation.** After launch, the surface makes one host-run structured generation call (the GM connection, a strict schema, themed guidance). The model returns a compact World Brief — settlement, cast with household structure, places, features — which a deterministic compiler turns into the tile world. 30 villagers in 6 households means ~6 houses, never 30. The sealed brief is validated, repaired, floored, and stored once in chat metadata; generation is an upgrade, never a gate — any failure (timeout, truncation, old engine without the route) lands on the themed default world. 2. **Non-blocking by design.** The chat boots the themed default world instantly; generation runs behind a toast and the world rebuilds in place when the brief arrives. One-shot per chat, guarded by the stored key. 3. **Themed Tier-1 atlases.** The sci-fi-colony theme gets its own authored atlas (`tiles-sci-fi-colony.png`) — hab panels, portholes, pressure doors, solar roofs, hydroponics trays — sharing one `atlas.json` id map with the cozy sheet. Asset set grows 8 → 9. 4. A hardening batch from two adversarial review rounds, including a real-world loader fix: `img.decode()` never settles on hidden pages (background-tab restore), which could wedge Tier-1 assets in "loading" forever. ### Compatibility `capabilityApi` stays {1,10}; `engine.min` stays 2.4.3. The generation endpoint is a host route, not a manifest contribution — on engines without it the client seals the themed default brief and plays exactly like 0.3.0. No catalog vocabulary changes. ### Try it Install the 0.4.0 artifact on an Engine staging build, create a New Game → Experiences → Pixelforge with the sci-fi theme and a real GM connection, and launch. You should be walking in Meridian Base immediately, see "Generating your world…" as a toast, and within ~30–90s the world should rebuild into a generated colony whose zones, NPCs, and situation match your setting text. Swipe/branch rewinds and the 0.3.0 save path are unchanged.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#188
No description provided.