In this video, we’ll design the dialogue box scene using nodes we saw in the scoreboard and slideshow series.
Whenever you want to add formatting to text, you want to use the
node.It uses BBCode tags to display text in bold, italics, in-line code, and more. It also supports clickable URLs and text effects, as you’ll see.
BBCode tags look like this:
is in bold[/b]
[b]This text is in italics[/i]
[i]This text is in underlined[/u] [u]This text
When creating a
, you need to activate BBCode support. To do so, expand the BBCode category and turn on the Enabled checkbox.Once activated, you must write your text with BBCode inside the
node’s bbcode_text
property. Otherwise, the BBCode tags
will appear inside the text.
You need to use a
for long paragraphs, clickable words, or any text that needs formatting.The
node is much simpler to use, so we recommend using it whenever you don’t need a .The
node also has much more predictable behavior inside containers.In the next lesson, we’ll use a
resource to enhance our dialogue box.