@scene-change
Change scenes: fade out, hide all sprites, change the background, then fade back in (@mask, @chara-hide-all, @bg and @mask-off in one command). It can also stop or change the BGM while the screen is covered
- Built-in
- Waits until it finishes
- Can be written without the name
image
hide-chara-at
hide-window-at
hide-chara
hide-window
When played, the sample game uses its own assets and character names.
Parameters
imageAsset (bgimage)
Background image. If omitted, the background stays (only the sprites are hidden)
bg-colorColor (#rrggbb)
Make the background a solid color (written instead of image; same as @bg color=)
timeTime (300ms, 1.5s)
Default: 1sTime for the fade out and for the fade in
fade-outTime (300ms, 1.5s)
Time to fade out (cover the screen). time if omitted
fade-inTime (300ms, 1.5s)
Time to fade in (uncover the screen). time if omitted
holdTime (300ms, 1.5s)
Default: 0msTime to stay covered (from changing the background until the fade in starts)
hide-charatrue / false
Default: trueHide sprites. false keeps everyone on screen and ignores hide-who, hide-chara-at and hide-fade
hide-whoCharacter
Character to hide. If omitted, hide all sprites; if specified, keep the other sprites
hide-chara-atcovered / start
Default: coveredWhen to start hiding sprites: covered after fading out, or start at the same time as fading out
hide-atcovered / start
Previous name for hide-chara-at; do not specify both
hide-fadeTime (300ms, 1.5s)
Default: 0msTime for sprites to fade out, separate from the screen transition
colorColor (#rrggbb)
Default: #000000Fade color
stop-bgmtrue / false
Default: falseStop the BGM while the screen is covered
bgmAsset (bgm)
BGM to play while the screen is covered (replaces the current BGM and loops. Write a separate @bgm for finer control)
bgm-volumeInteger (0 to 100)
Default: 100Volume of the BGM to play (0–100, when bgm is given)
bgm-fadeTime (300ms, 1.5s)
Default: 0msTime to fade out the stopped BGM and fade in the new BGM (from the moment the screen is covered)
hide-windowtrue / false
Default: trueHide the message window and show it again with the next text. false keeps it shown
hide-window-atcovered / start
Default: startWhen to hide the message window and its controls: start at the same time as fading out, or covered after fading out. Ignored when hide-window=false
toneText (such as sepia / mono / night / evening / dark / plain / none)
Tone applied to sprites while the new background is shown (the same as tone= of @bg). If omitted, the tone from ui.backgroundTones in liminalia.json
Guides that use this command
- Fade out and change scenesFade out, hide sprites, change the background and fade in with a single part, and stop or change the BGM too
- Change the ending with flagsRecord what the player chose in a variable, and change the ending text with a condition
- Customize the title screenSet the title screen's background, BGM and title logo, and change the title screen after the player finishes the game
- Set up the quick menu and system buttonsSet the quick menu's position, its buttons and the key bindings, and hide the quick menu in some scenes
- Show notifications at the edge of the screenShow notifications such as an entry added to a notebook or an item picked up, stacked at the top right, and hold them until a scene break
- Set command defaults for each projectMake values you enter every time, such as the fade of sprites or the length of scene changes, the project's defaults