← All Examples

Loading Scene

LoadingScene preloads the target's assets, emits scene:loading:progress events, and hands off via a fade transition. The default LoadingSceneProgressBar (from @yagejs/ui) subscribes to the events and renders the bar — no render hooks, no per-frame polling. Set autoContinue: false to gate the handoff on scene.continue() (e.g. "press space to continue").