LiminaliaLiminalia

@motion-text

Show text one character at a time with an animation, keep it shown for a while, then remove it one character at a time

in

align

out

bold

When played, the sample game adds width=880 so that the values you pick show on screen.

Parameters

textRequired
Text
Text
x
Number
Default: 0
Left edge (px)
y
Number
Default: 0
Top edge (px)
layer
fg0 / fg1 / fg2
Default: fg0
Layer to place it on (fg0 to fg2)
name
Text
Name (used to move it with @anim, or to rewrite it with @layer-text overwrite=true)
size
Number
Default: 26
Font size (px)
color
Color (#rrggbb)
Default: #ffffff
Text color
face
Text
Font (CSS font-family)
bold
true / false
Default: false
Bold
italic
true / false
Default: false
Italic
align
left / center / right
Default: left
Text alignment (when width is given)
width
Number
Width (px). The length of the text if omitted
vertical
true / false
Default: false
Vertical writing
edge
Color (#rrggbb)
Outline color
edge-width
Number
Default: 1
Outline thickness (px)
shadow
Color (#rrggbb)
Shadow color
time
Time (300ms, 1.5s)
Default: 2s
Time from finishing showing until it starts disappearing
stay
true / false
Default: false
Keep it instead of removing it (it stays until @free-image removes it)
in
fadeIn / fadeInLeft / fadeInRight / fadeInUp / fadeInDown / slideInLeft / slideInRight / slideInUp / slideInDown / puffIn / vanishIn
Default: fadeIn
Effect when showing
in-delay
Time (300ms, 1.5s)
Default: 50ms
Delay between characters (multiplied by in-scale)
in-scale
Number
Default: 1.5
Factor applied to in-delay
in-sync
true / false
Default: false
Show every character at once
in-shuffle
true / false
Default: false
Show the characters in random order
in-reverse
true / false
Default: false
Show from the last character
out
fadeOut / fadeOutLeft / fadeOutRight / fadeOutUp / fadeOutDown / slideOutLeft / slideOutRight / slideOutUp / slideOutDown / puffOut / vanishOut
Default: fadeOut
Effect when removing
out-delay
Time (300ms, 1.5s)
Default: 50ms
Delay between characters (multiplied by 1.5)
out-sync
true / false
Default: false
Remove every character at once
out-shuffle
true / false
Default: false
Remove the characters in random order
out-reverse
true / false
Default: false
Remove from the last character
wait
true / false
Default: true
Wait until it's removed (with stay=true, until it's shown) before continuing
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)

From TyranoScript

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

  • [mtext]

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