Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

[Solved] Superscript

A topic by miksol created May 11, 2019 Views: 231 Replies: 4
Viewing posts 1 to 3

Hello! is there any support for superscript in SuperText?

Developer

Hmm... I don't think there is, yet. I've been wanting to add some additional line height tools, so I think this will be possible for me to add. I'll try to add it soon!

Thank you! I look forward to, until I have to stay on TMP

Developer

Alright, added it! Submitted v1.8.16 to the asset store, and it's already live on itch.

I added a <y=float> tag that can be used to set the y offset of text, and in addition to this I added <sup> and <sub> for superscript and subscript. What these tags do is essentially the same as typing <s=0.5><y=0.5>, except it uses values that you can set withing the TextData Inspector, under "Master". </sub> or </sup> will also cancel size tags, so another should be typed afterwards. if you were already using one, STM has HTML-like tags, but they don't "stack" in the same way as HTML tags...


Can't believe I forgot to add this, thanks for pointing it out!

Thanks for the quick solution, it's cool!