Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(2 edits)

Hey!


This is a good idea, but not directly supported, and I'm not too sure how I would support it... It'd have to be a big update.

But, for the time being, I do have an indirect solution that already works!

Super Text Mesh has a "Pagination" feature, where text from one text box can be set up to automatically overflow into another. So... using this, you can set up multiple single-row Super Text Mesh objects that fill your round speech bubble, then just send the updated text to the first STM in the chain and... bam! Multiple STM objects can work as one.

If you have a static text box that will never change size, this won't take long at all to set up. If you have one that changes size dynamically... this might take a bit longer to set up, but it is possible. You'd have to systemically instantiate STM objects, and assign their position and autoWrap values based on the evaluation of the polygon at a given Y coordinate. If you need help coding this for a circle/oval, I can try to whip up some sample code, but for more complex geometrical shapes, I might have to do a bit more studying...

Thanks, I actually tried that exact trick with TextMeshPro but ran into some issue with the carry over. Maybe it was a tags issue or an animation issue. I can't remember. But I'll give it a try with SMP! Thanks for the fast response!

The tags for pagination should carry over from box-to-box so hopefully that still works. There should be an example script included that shows a basic pagination setup included somewhere!