Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

A pair of extra Overflow Options

A topic by digiwombat created Dec 05, 2020 Views: 184 Replies: 2
Viewing posts 1 to 3

Hey! First of all, thanks for making this. It's a godsend for working with bitmap fonts and adding life to text fields.

The one thing I'd like to see added are a paid of overflow options that TMPro has that I use from time to time but aren't available for SuperTextMesh.

The two are the ellipsis mode and the linked overflow mode. I use the linked overflow mode to create columns for text and it's really a handy feature for doing things like that. Though it is a bit of an edge case, I think it's a fairly simple solution to the problem of columns so it's a thing I'd like to use STM for instead of having to fallback on TMPro or more complex scripts.

Thanks again for making a superior alternative to Unity's pair of basically abandoned options and for your time.

Developer (1 edit)

Hey!


Ellipsis mode isn't a thing in STM but there is a feature that should work like linked overflow! Check out the sample scene on "pagination". Basically you can link two STM objects together, so that text will automatically overflow from one to the next, respecting active tags and read timing. This can chain as many STM objects together as you need.

Ellipsis mode sounds interesting, though... I might be able to implement it in the same way hyphens are tossed in automatically. I'll write it down!

Awesome, that STMPagination script looks like exactly what I need. Thanks a ton, man.

And thanks for giving a look to ellipsis mode. It was a thing I didn't think I'd ever need until I ran into the cruel realities of pixel art and integer scaling and sometimes you just need to make sure things are going to cut off in an elegant way. Haha.

Thanks again! I'm off to rip some TMPro fields out of my UI once and for all.