LiminaliaLiminalia

@hud-text

Place text that stays on screen while playing. {= expression} fills in variable values, and it's redrawn whenever a variable changes (the date, the place, affection and so on). It stays until @hud-text-off and is kept in saves

align

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

Parameters

nameRequired
Text
Name (writing the same name again replaces it; used by @hud-button-off and @hud-text-off to remove it)
textRequired
Text
Text to show ({= expression} fills in a variable value, such as "Day {= game.day}")
x
Number
Default: 0
Left edge (px)
y
Number
Default: 0
Top edge (px)
width
Number
Width (px; the width to align within. The text's width if omitted)
size
Number
Text size (px; the same as the message window text if omitted)
color
Color (#rrggbb)
Text color (the same as the message window text if omitted)
align
left / center / right
Default: left
Alignment (when width is given)
show-if
Condition expression
Condition for showing it (an expression). Hidden while false; checked again whenever a variable changes

Guides that use this command