I use Label::createWithBMFont() throughout my code, but in one panel, I’d like it to look more like rich text or HTML, with bold, bullets, etc.
I’ve googled, but must be blind. Is there a simple way to do this, and have the text auto-wrap within the left/right boundaries (or width) that I set?
thanks!
squares
#2
I need to render a simple HTML text like:
<b>Privacy policy</b>
…
personal data.<br>
How can I do this in cocos?
Maybe just use WebView class. It’s supported on Android and iOS.
squares
#4
Not a case at all / I need it be just a game element.
squares
#5
RichText::createWithXML
its like can parse XML.
But how to add RichElement
later with XML? I can’t see RichElementTextXML
.