Need Help with Displaying Text in correct Size across all Devices!

Currently I’m developing a Multiplayer Story Game like Break In, but the biggest problem I’ve encountered recently is the Hint Displaying System not displaying the same text size for different platforms

What I mean by a Hint Displaying System is something like this
Screenshot 2024-09-08 082247

If you have ever played or watched vidoes about Break In, you should see that Hint Message,
but when I tried to make something similar to that, I had a problem where the “text size” is not displaying according to the Screen Resolution`, which makes different Devices see different text sizes.

However, I dont know how to achieve this, can anyone help me? Any help is appreciated!

Oh and also, these are images of my Hint System, the top image is a Phone and the bottom one is an Average Laptop



As you can see, they have a obvious difference of Text Size displayed, unlike Break In’s

Once again, any help is appreciated!

1 Like

objects that have a text property also have a property called “TextScaled”. enable it to make it scale on every device

1 Like

The images you see already have TextScaled property enabled, so dosent work too :pensive:

1 Like

if you enable the richtext property it allows for a higher maximum text size i believe

1 Like

What I’m currently trying to achieve is to perfectly scale the TextSize according to the player’s screen size, not to make super big text

1 Like

you can use a UITextSizeConstraint to make it not too big

1 Like

Hmm, I tried it, but UITextSizeConstraint ensures text scaling in the Limited Range, which cannot do what I’m trying to achieve (to scale text according to screen size)

1 Like

in that case, you could make a text label slightly smaller than the parent frame so that it fits on every screen properly

1 Like

Yea thats a good idea, but I need to enable TextScaled property to get it work, but I want the text maintain the same size everytime a hint appears, so that’s not the perfect soloution i guess :slightly_smiling_face:

1 Like

Moreover, I’m using MaxVisibleGraphmes to make characters appearing one by one

1 Like