LiminaliaLiminalia

@chara

Show a sprite or change it. A character already on screen keeps its current variant, sprite set, position and flip for anything you leave out (a hidden character uses the defaults)

variantVariant

atPosition

enter

flip

Parameters

whoRequired
Character
Character ID
variant
Variant
Variant (expression or pose). If omitted, a character on screen keeps its current variant and a hidden one uses the base variant (normal, then default, then the first one)
appearance
Sprite set
Sprite set (outfit, era, condition and so on). If omitted, a character on screen keeps its current set and a hidden one uses the default sprite set (defaultAppearance, then default, then the first one)
at
Position
Position: a name from the variant's frame positions (unknown names fall back to center) or auto (auto sprites line up evenly side by side). If at, x and y are all omitted, a character on screen stays where it is and a hidden one appears at center
x
Number
Left edge (px). Overrides at
y
Number
Top edge (px). Overrides at
width
Number
Width (px). If omitted, a character on screen keeps its current size and a hidden one uses the variant's size
height
Number
Height (px). If omitted, a character on screen keeps its current size and a hidden one uses the variant's size
flip
true / false
Flip horizontally. If omitted, a character on screen keeps its current flip and a hidden one isn't flipped
cross
true / false
Default: true
When the image changes, cross-fade the old and new images (false shows the new image fully before removing the old one)
time
Time (300ms, 1.5s)
Default: 0ms
Time to show or change the sprite
wait
true / false
Default: false
Wait until the sprite is shown or changed before continuing
if-hidden
true / false
Default: false
Show the sprite only if it's hidden (does nothing when it's already on screen)
enter
fade / left / right / top / bottom / zoom
Default: fade
How a hidden character appears, over the time: fade appears in place, left, right, top and bottom slide in from that side (by distance), and zoom grows from a small size
distance
Number (0 or more)
Default: 160
Distance moved for left, right, top and bottom (px)
slide
true / false
Default: false
When a character on screen changes position, slide it to the new position over the time instead of hiding and showing it again
z
Integer
Stacking order. Higher values are in front (with equal values, the later sprite is in front). If omitted, a character on screen keeps its order and a hidden one uses 0
solo
true / false
Default: false
Hide the other characters' sprites first (swapping over the time). For projects that show one character at a time, set it in commandDefaults for chara
replace
Text (such as left / center / right)
The character to replace: the name of a character on screen, or the name of their position. Position names are left, center, right, a name in the sprite frame's positions, a name written in autoLayout's positions, or the name after autoLayout's byCount remaps it (choose a character placed with x or y by name). left, center, right and the names in autoLayout's positions are read as positions even when a character has the same name. The new character inherits that position and order of appearance, and the other sprites remain in place
auto-layout
true / false
Default: false
Automatically place newly shown characters without explicit positions from left to right in entrance order. When the cast changes, fade the sprites out and show them again in their new positions. Set it in commandDefaults for the whole project. Change the layout with autoLayout in liminalia.json and side in cast.json
auto-fade
Time (300ms, 1.5s)
Default: 300ms
Time to fade existing sprites out before automatically rearranging them. time controls the new entrance
clear
Time (300ms, 1.5s)
Hide all sprites, including this character, over this duration before showing them. Equivalent to @chara-hide-all time=… followed by @chara; time controls the entrance duration
swap
after / cross
Default: after
How to show the sprite while another character's sprite is still disappearing at the destination position: after waits until it has gone (the two don't overlap; a character already on screen that moves there also appears there only once it has gone), cross overlaps them (the previous behavior). To change it for the whole project, set it in commandDefaults for chara
alt
Text
Description of the picture (not shown on screen; passed to screen readers and text-to-speech with the next text)
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:

  • [chara_show]
  • [chara_mod]
  • [tatie]

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