Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Advanced GD Script [e-book about Godot 3.1]

The new e-book project will cover the advanced use of Godot GD Script. Godot is a leading game engine. · By SLAVS MAKE GAMES

Using BB codes - part from Advanced GD Script - open to suggestions>?:

A topic by SLAVS MAKE GAMES created Oct 04, 2019 Views: 785 Replies: 2
Viewing posts 1 to 2
Developer (2 edits)

(All readers will have the opportunity to support this book creation. You can learn and support with a suggestion for improvement. )

RichTextLabel allows the display of complex text markup in a control. It has a built-in API for generating the markup, but can also parse a BBCode. List of bb code commands.


Example with richtext box(var text_box). BB code is first enabled for use and then set with set_bbcode.

text_box.set_use_bbcode(true)
text_box.set_bbcode("Info
about\n[center]Some vegetation on level two[/center]")
# \n is bb code for new line

can you make one for godot 4

Developer

Noted Thx