@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
- Standard plugin
- Can be written without the name
name
align
When played, the sample game adds width=1200 so that the values you pick show on screen.
Parameters
nameRequiredText
Name (writing the same name again replaces it; used by @hud-button-off and @hud-text-off to remove it)
textRequiredText
Text to show ({= expression} fills in a variable value, such as "Day {= game.day}")
xNumber
Default: 0Left edge (px)
yNumber
Default: 0Top edge (px)
widthNumber
Width (px; the width to align within. The text's width if omitted)
sizeNumber
Text size (px; the same as the message window text if omitted)
colorColor (#rrggbb)
Text color (the same as the message window text if omitted)
alignleft / center / right
Default: leftAlignment (when width is given)
show-ifCondition expression
Condition for showing it (an expression). Hidden while false; checked again whenever a variable changes