-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTextFormattingCommands.txt
More file actions
20 lines (16 loc) · 984 Bytes
/
TextFormattingCommands.txt
File metadata and controls
20 lines (16 loc) · 984 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
__CHANGING THE COLOUR__
\\color(monogame.COLOR)
\> Sets the colour of the text behind this command to the chosen colour, until it is changed again
\\r.color
\> Reverts the colour to the default colour of the TextObject
__INSERTING AN IMAGE__
\\img(path_to_file)
\> Inserts a texture2D as a character into the text. the character is scaled to the height fits inside the line
__INSERTING AN ANIMATED ICON__ ------------------------------------------------------------------------------------------------- YET TO BE IMPLEMENTED, DO NOT USE
__CHANGING THE SCALE__
\\scale(float)
\> Sets the scael of the text and images behind this command to the chosen scale, until it is changed again
\> NOTE: do not write the value with an f! (1.0f -> 1.0)!!
\r.scale
\> Reverts the scale to the default scale of the TextObject
__CHANGING THE FONT__ --------------------------------------------------------------------------------------------------------- YET TO BE IMPLEMENTED, DO NOT USE