Repository navigation
Document scene switching from the Project settings menu - #53
Merged
Merged
Conversation
JamieW105
added a commit
to Rustic-Game-Engine/engine
that referenced
this pull request
Oct 21, 2026
The Project panel now has a settings gear at the top right. Its **Change scene** submenu lists project scenes, including nested `.scene` and legacy `.rscene` files, and highlights the active scene. Selecting another scene saves pending edits, loads its objects, script attachments, and environment, clears selection/history and refreshes the viewport. Loading or saving errors leave the current document intact. Switching is disabled during play and runtime-change review. External-file reloads now reopen the active scene rather than always loading main. Startup selection on reopening a project is unchanged. Validation: 66 tests passed across `engine-editor` and `rustic-editor`, including mouse clicks through the nested menu, scene/environment round trips, read-only access, failed load/save preservation, and selecting the current file through a path alias. `cargo fmt --all --check`, targeted Clippy with warnings denied, and `git diff --check` passed. The Windows installer build and packaged-setup checks passed, producing `RusticGameEngine-Setup-0.1.0-x64-20261021-075728.exe` ([download artifact](https://github.com/Rustic-Game-Engine/engine/actions/runs/39563576199/artifacts/12329537705)). Full Linux and Windows CI passed, including rendering checks, all-target checks, and application smoke tests. Windows passed on retry after an existing Java adapter callback exceeded its three-second timeout on the first attempt. The new scene-switching and alias-preservation tests passed on Windows in both attempts. Companion website documentation: Rustic-Game-Engine/docs#53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Document Project → settings gear → Change scene, including nested and legacy scene files, saving pending edits, per-scene environments, play restrictions, and failure diagnostics. Clarify that reopening a project still uses its main scene.
Validation: lint with zero warnings, production build, TypeScript, npm audit (zero vulnerabilities), documentation checks, and exported link/anchor checks all passed.
Implementation: Rustic-Game-Engine/engine#44