Skip to content

Document scene rename and start-scene selection - #56

Merged
JamieW105 merged 2 commits into
mainfrom
docs/scene-context-menu
Oct 21, 2026
Merged

JamieW105 merged 2 commits into
mainfrom
docs/scene-context-menu

Conversation

@JamieW105

@JamieW105 JamieW105 commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Document the scene picker's right-click menu: Rename preserves scene edits, recovery files, metadata, and the start-scene reference; Set as start scene persists the project default without switching the active scene. Explain the Start marker, writable/play restrictions, backward-compatible main-scene fallback, and recovery for missing start files. Update the architecture reference for the optional project.engine field.

Validation: lint with zero warnings, production build, TypeScript, npm audit (zero vulnerabilities), documentation checks, and exported links/anchors passed.

Implementation: Rustic-Game-Engine/engine#46

@JamieW105 JamieW105 added type:docs Documentation changes area:website Documentation website labels Oct 21, 2026 — with ChatGPT Codex Connector
@JamieW105
JamieW105 merged commit 70cf8df into main Oct 21, 2026
1 check passed
@JamieW105
JamieW105 deleted the docs/scene-context-menu branch October 21, 2026 08:33
JamieW105 added a commit to Rustic-Game-Engine/engine that referenced this pull request Oct 21, 2026
Right-clicking a scene in Project → settings → Change scene now opens a
submenu with **Rename** and **Set as start scene**. Right-clicking does
not load the scene. Rename opens a dialog, retains the extension, saves
active edits, moves backups/metadata, and updates the active path and
start-scene reference; collisions or failed descriptor writes preserve
the original files. Scene selection and undo history survive an
active-scene rename.

Set as start scene persists an optional scene-relative `start_scene` in
project.engine and marks the list entry Start, without switching the
active scene. Project opening honors that choice; older descriptors keep
the main.scene/main.rscene default. Both actions require writable access
and stop during play or runtime-change review. Play continues to use the
active scene. A missing explicit start scene produces an error instead
of creating an empty scene.

Validation: 91 tests passed across engine-project, engine-editor, and
rustic-editor, including clicks through the nested context menu,
disabled actions, start-scene reopen with objects/environment, rename
collision handling, and file rollback after configuration-save failure.
Targeted Clippy with warnings denied, cargo fmt, and git diff --check
passed. The required fresh Windows installer is being built by PR CI.

Companion website documentation:
Rustic-Game-Engine/docs#56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:website Documentation website type:docs Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants