RE: The new bbcode text page


#1

The page states:

The BBText object supports the following common tags:

  • [color=hexColor]colored text[/color]

I just tried this and it doesn’t seem to take a hex color code - the result is any text between the tags turns to the default black, which isn’t good when the background is black. You have to use a color name instead like red, blue, green, pink, aqua, violet, etc.

Also, I’m not sure about anyone else… I see that it does specify “BBText object”, but it wasn’t immediately clear that this is a separate type of object from the regular text object. Maybe a simple note can be added on the page like “not to be confused with the Text object” with a link to the page for that.

http://wiki.compilgames.net/doku.php/gdevelop5/objects/bbtext


Cool new feature though! :+1:


#2

@blurymind would you be able to take a look at the color naming issue?

I’ll add a mention about “not to be confused with the Text object” on the page, thanks :slight_smile:

EDIT: colors are working if you writing them as #RRGGBB: [outline=#AA8899]outlined[/outline]
Surely something to add in the wiki and in the BBText object example.


#3

@4ian thank you for updating the wiki. Yes you can write it like this:

outline=#AA8899
or
outline=yellow

hex color is the one with the hash. This is actually the format pixi uses