LiminaliaLiminalia

@bg

Change the background

pattern

hide-window

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

Parameters

image
Asset (bgimage)
Background image (write color instead for a solid color)
color
Color (#rrggbb)
Solid background color (written instead of image; no picture is needed, and saves keep it as a color)
time
Time (300ms, 1.5s)
Default: 0ms
Transition time
method
crossfade / fadeIn / fadeInLeft / fadeInRight / fadeInUp / fadeInDown / slideInLeft / slideInRight / slideInUp / slideInDown / puffIn / vanishIn
Default: crossfade
Transition style
cross
true / false
Default: false
Cross-fade the old and new backgrounds
wait
true / false
Default: true
Wait until the transition finishes before continuing
hide-window
true / false
Default: false
true hides the message window during the transition (while fading) and shows it again with the next text. If omitted, the window stays shown (also when swapping variants of a CG)
keep-text
true / false
Default: false
true keeps the previous page's name and text until the next text when this line comes right after a page is advanced with a click (so the line stays visible while a CG variant changes). Text already cleared by an earlier line doesn't come back. ui.message.keepText in liminalia.json brings back the old behavior for the whole game
alt
Text
Description of the picture (not shown on screen; passed to screen readers and text-to-speech with the next text)
tone
Text (such as sepia / mono / night / evening / dark / plain / none)
Tone applied to sprites while this background is shown (the same names as @tone; none applies no tone). If omitted, the tone from ui.backgroundTones in liminalia.json. Sprites given a tone with @tone keep that one
rule
Asset (image)
Rule image (grayscale; darker areas change first; overrides method)
pattern
wipe-left / wipe-right / wipe-up / wipe-down / circle-in / circle-out / blinds / blinds-vertical / diamond / noise
Built-in rule, used when rule isn't given (wipe-left, circle-out, blinds, noise and so on)
vague
Integer (0 to 255)
Default: 64
Softness of the rule's edge (0 to 255; higher is softer)
skip
true / false
Default: true
Lets a click, the Enter key or a tap finish the effect at once. false prevents it (while skipping, it ends at once anyway)

Guides that use this command

From TyranoScript

When you import with lim import, these tags become this command:

  • [bg]

How each attribute converts, and what isn't converted, is in TyranoScript import.