Using Novelty > Syntax formatting in text and dialogue

Syntax formatting

Novelty supports a number of commands that enables you to format your texts and inject script variables into them.

The commands are enclosed in brackets ([...]). To end a command, you prepend a forward slash ([/...]).

Note: Currently, the formatting syntax only applies to text objects using bitmap fonts.
All syntax commands are case insensitive.


Text color

Syntax:
[#RRGGBB] ... [/#]
[color=RRGGBB] ... [/color]

Example:

[#FF0000]Red text[/#]. [#00FF00]Green text[/#]. [#0000FF]Blue text[/#].

Result:

Red text. Green text. Blue text.


Text color (with opacity)

Syntax:
[#AARRGGBB] ... [/#]
[color=AARRGGBB] ... [/color]

Example:

[#80000000]Semitransparent text[/#].

Result:

Semitransparent text.


Text size

Syntax:
[size=Factor] ... [/size]

Example:

[size=2]Double size[/size]. Normal size. [size=0.5]Half size[/size].

Result:

Double size. Normal size. Half size.



Back to top