How would I make a scaled typewriter system

Hey there! So recently I have been wondering how games managed to produce a scaled typewriter system that works on all screens.

this is what I mean:

https://gyazo.com/017e5b9a31262319bb27c74a4e26e01c

Is there some way to detect how big the screen is then adjust the text size? Because normally, I would choose “Text scaled”, but that doesn’t look that great. How would I achieve it so that it can stay at one text size throughout the system, but fit on all devices?

Any help is appreciated :slight_smile:

They probably scaled the initial frame and then created a new TextLabel whose TextSize property is the absolute size of the Y axis divided by the amount of lines, then enabled the TextWrapped property.

They use the MaxVisibleGraphemes property of the TextLabel, which is made specifically for a typewriter.

3 Likes