@@ -32,14 +32,14 @@ markup to format the text as requested. Before this happens, you need to toggle
32
32
For example, ``BBCode [color=blue]blue[/color] `` would render the word "blue" with
33
33
a blue color.
34
34
35
- .. iamge :: img/bbcodeDemo.png
35
+ .. image :: img/bbcodeDemo.png
36
36
37
37
You'll notice that after writing in the BBCode "Text" property the regular "Text"
38
38
property now has the text without the BBCode. While the text property will be updated
39
39
by the BBCode property, you can't edit the text property or you'll lose the BBCode
40
40
markup. All changes to the text must be done in the BBCode parameter.
41
41
42
- .. node ::
42
+ .. note ::
43
43
44
44
For BBCode tags such as ``[b] `` (bold) or ``[i] `` (italics) to work you must
45
45
set up custom fonts for the RichTextLabel node first.
@@ -115,7 +115,7 @@ BBCode can also be used to create different text animation effects. Five customi
115
115
effects are provided out of the box, and you can easily create your own.
116
116
117
117
Wave
118
- ++++
118
+ ~~~~
119
119
120
120
.. image :: img/wave.png
121
121
@@ -124,7 +124,7 @@ Wave makes the text go up and down. Its tag format is ``[wave amp=50 freq=2][/wa
124
124
text goes up and down.
125
125
126
126
Tornado
127
- +++++++
127
+ ~~~~~~~
128
128
129
129
.. image :: img/tornado.png
130
130
@@ -134,7 +134,7 @@ Tornao makes the text move around in a circle. Its tag format is
134
134
fast the text moves in a circle.
135
135
136
136
Shake
137
- +++++
137
+ ~~~~~
138
138
139
139
.. image :: img/shake.png
140
140
@@ -143,7 +143,7 @@ Shake makes the text shake. Its tag format is ``[shake rate=5 level=10][/shake]`
143
143
offset from the origin.
144
144
145
145
Fade
146
- ++++
146
+ ~~~~
147
147
148
148
.. image :: img/fade.png
149
149
@@ -154,7 +154,7 @@ command is inserted, ``length`` controls over how many characters should the fad
154
154
out take place.
155
155
156
156
Rainbow
157
- +++++++
157
+ ~~~~~~~
158
158
159
159
.. image :: img/rainbow.png
160
160
@@ -177,8 +177,8 @@ Optionally, you can also provide a custom BBCode identifier simply by adding a m
177
177
name ``bbcode ``. The code will check the ``bbcode `` property automatically or will
178
178
use the name of the file to determine what the BBCode tag should be.
179
179
180
- _process_custom_fx
181
- ++++++++++++++++++
180
+ `` _process_custom_fx ``
181
+ ~~~~~~~~~~~~~~~~~~~~~~
182
182
183
183
This is where the logic of each effect takes place and is called once per character
184
184
during the draw phase of text rendering. This passes in a :ref: `class_CharFXTransform `
@@ -209,7 +209,7 @@ the user fixes whatever error cropped up in their custom effect logic.
209
209
Here are some examples of custom effects:
210
210
211
211
Ghost
212
- +++++
212
+ ~~~~~
213
213
214
214
::
215
215
@@ -231,7 +231,7 @@ Ghost
231
231
return true
232
232
233
233
Pulse
234
- +++++
234
+ ~~~~~
235
235
236
236
::
237
237
@@ -257,7 +257,7 @@ Pulse
257
257
return true
258
258
259
259
Matrix
260
- ++++++
260
+ ~~~~~~
261
261
262
262
::
263
263
0 commit comments