LiminaliaLiminalia

@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

hide-chara-at

hide-window-at

hide-chara

hide-window

When played, the sample game uses its own assets and character names.

Parameters

image
Asset (bgimage)
Background image. If omitted, the background stays (only the sprites are hidden)
bg-color
Color (#rrggbb)
Make the background a solid color (written instead of image; same as @bg color=)
time
Time (300ms, 1.5s)
Default: 1s
Time for the fade out and for the fade in
fade-out
Time (300ms, 1.5s)
Time to fade out (cover the screen). time if omitted
fade-in
Time (300ms, 1.5s)
Time to fade in (uncover the screen). time if omitted
hold
Time (300ms, 1.5s)
Default: 0ms
Time to stay covered (from changing the background until the fade in starts)
hide-chara
true / false
Default: true
Hide sprites. false keeps everyone on screen and ignores hide-who, hide-chara-at and hide-fade
hide-who
Character
Character to hide. If omitted, hide all sprites; if specified, keep the other sprites
hide-chara-at
covered / start
Default: covered
When to start hiding sprites: covered after fading out, or start at the same time as fading out
hide-at
covered / start
Previous name for hide-chara-at; do not specify both
hide-fade
Time (300ms, 1.5s)
Default: 0ms
Time for sprites to fade out, separate from the screen transition
color
Color (#rrggbb)
Default: #000000
Fade color
stop-bgm
true / false
Default: false
Stop the BGM while the screen is covered
bgm
Asset (bgm)
BGM to play while the screen is covered (replaces the current BGM and loops. Write a separate @bgm for finer control)
bgm-volume
Integer (0 to 100)
Default: 100
Volume of the BGM to play (0–100, when bgm is given)
bgm-fade
Time (300ms, 1.5s)
Default: 0ms
Time to fade out the stopped BGM and fade in the new BGM (from the moment the screen is covered)
hide-window
true / false
Default: true
Hide the message window and show it again with the next text. false keeps it shown
hide-window-at
covered / start
Default: start
When 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
tone
Text (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