Skip to content

Document scene lifecycle and automatic switching in all script languages - #71

Merged
JamieW105 merged 3 commits into
mainfrom
docs/script-scene-lifecycle
Oct 28, 2026
Merged

JamieW105 merged 3 commits into
mainfrom
docs/script-scene-lifecycle

Conversation

@JamieW105

@JamieW105 JamieW105 commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Document game.scene scene loading, unloading, selection, and loaded-state queries in all ten supported script types. Explain automatic loading by name or path, automatic unloading when switching away, explicitly loaded scene retention, ambiguous-name errors, and failed-switch behavior. Add searchable API routes with language examples, update scene lookup guidance, and explain callback boundaries, global scripts, Play snapshots, memory release, and errors.

Validation: production build, documentation lint, TypeScript, dependency audit, static-export documentation/link checks, and API reference tests passed.

CI: refresh the explicitly reviewed API baseline for all six scene lifecycle signatures and track scene_lifecycle.rs in source drift checks. Verified standalone drift checking and comparison with the reviewed engine checkout, syntax/API examples, 38 unit tests, static documentation/links, lint, TypeScript, production build and dependency audit.

@JamieW105 JamieW105 added area:website Documentation website type:docs Documentation changes labels Oct 28, 2026
@JamieW105 JamieW105 changed the title Document scene lifecycle APIs in all supported script languages Document scene lifecycle and automatic switching in all script languages Oct 28, 2026
@JamieW105
JamieW105 merged commit 0ee4a6e into main Oct 28, 2026
1 check passed
@JamieW105
JamieW105 deleted the docs/script-scene-lifecycle branch October 28, 2026 04:08
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