Elektrine lite

← Feed

@memoriesin8bit@mastodon.gamedev.place

Post #2895234

2026-05-11 12:28 UTC

I.e. do I need some fancy logic that parses a string and spawn labels and input prompts in a flow-container or something? That's one way I could imagine this working. But this sounds like something that I discover years later that I made it 10 times more complicated than it needs to be.

Replies (2)

  • @memoriesin8bit@mastodon.gamedev.place Well, depends on how much you need to customize the looks. You should probably look into RichTextLabel regardless, though. For specialized text styling you can create custom BBCode tags a.k.a. effects. And with good ole string interpolation you can even insert images.

    Open ##2895235

  • @memoriesin8bit@mastodon.gamedev.place You could use RichTextLabel to put images inline inside the text with [img] tags (never used it so idk if that gives you enough control over the image sizing etc) https://docs.godotengine.org/en/4.4/tutorials/ui/bbcode_in_richtextlabel.html

    Open ##2895240