Skip to content

[3/3] Add dialogue, inventory, draft rehearsal and authoring walkthrough - #3

Merged
WilliamRagstad merged 1 commit into
editor/02-room-hotspot-toolsfrom
editor/03-dialogue-inventory-preview
Oct 25, 2026
Merged

WilliamRagstad merged 1 commit into
editor/02-room-hotspot-toolsfrom
editor/03-dialogue-inventory-preview

Conversation

@WilliamRagstad

Copy link
Copy Markdown
Member

Adds inventory definitions, branching dialogue nodes and choices, item rewards, pickup/talk actions and item-gated hotspots. Authors can build the included three-room adventure entirely through the editor controls. A native modal rehearses those interactions on an isolated project snapshot; restart clears its session and closing it preserves the authored project.

Includes an illustrated authoring walkthrough, a portable three-room draft generated through UI actions, and CI for Rust checks, a release WASM build and Chromium interactions. Also fixes dropdown selections after revisiting objects, guards recovery-quota failures without falsely clearing unsaved state, rejects non-finite serialization, and exercises pointer movement and Escape cancellation.

Depends on #2 and targets its branch.

Still blocked by PACE core: the inspected upstream revision has no versioned format or executable runtime to pin. The example is editor-owned, and Rehearse draft is explicitly an editor simulation. Core preview and Export game remain disabled. This stack does not satisfy core-format serialization or pinned-runtime preview/export; runtime.lock.json records a null runtime revision and docs/core-integration.md describes the remaining adapter work. The PR stays draft for that dependency.

Validation passed locally:

  • 13 Rust integration tests covering serialization, asset integrity checks, ID/reference handling, history, geometry, item gates and dialogue transitions.
  • Four Playwright tests against the release build in Chromium. They author all three rooms through controls, traverse both dialogue branches and room/item gates, verify return links, compare complete project data before/after rehearsal and reopen, exercise canvas interactions, check displayed dropdown selections, and test invalid files, recovery quota failure and cancellation.
  • cargo fmt --all -- --check, cargo clippy --workspace --all-targets --locked -- -D warnings, the WASM target check and trunk build --release --locked.

Initial supported platform: web/WebAssembly; Rust 1.90.0, Dioxus 0.5.6, Trunk 0.21.14.

@WilliamRagstad
WilliamRagstad marked this pull request as ready for review October 25, 2026 17:18
@WilliamRagstad
WilliamRagstad merged commit 154d0b1 into editor/02-room-hotspot-tools Oct 25, 2026
2 checks passed
@WilliamRagstad
WilliamRagstad deleted the editor/03-dialogue-inventory-preview branch October 25, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant