LiminaliaLiminalia

@layer-text

Place text on a foreground layer (a chapter title, a location caption and so on). It stays until @free-image removes it

align

bold

italic

vertical

When played, the sample game adds width=1120 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: 0ms
Time to show
wait
true / false
Default: true
Wait 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)
overwrite
true / false
Default: false
If text with the same name exists, rewrite its text, position, color and size instead of placing new text

From TyranoScript

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

  • [ptext]
  • [tb_ptext_show]

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