Text exceeds the text box on IOS

0 favourites
  • 4 posts
From the Asset Store
Self Typing Text
$0.50 USD
95% off
Change delay, create new lines, "backspace" the text
  • Hi everyone,

    I have an issue with my IOS version of my game: the text is croped on the right side because it goes outside the text box.

    Any ideas on how to solve that?

    On Android, it's working fine. And it is not a fix text, it change inside the box at each question. So sometime it is croped, sometime not. I tried to export the game with xcode, it does the same than on the preview.

    Thanks in advance!

    Tagged:

  • Did you import this font into the project?

    The safest method is to use SpriteFont - it will look the same on all devices.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks for the advice! And yes it is an imported font

    I have some issues with SpriteFont (some spacings are bigger than other) but maybe it is because I'm not used to use it a lot..

    Also this text box is link to a lot of actions so I'ld prefer not to change the object if possible..

    But if it is the only option, I'll give it another try.

  • you might be able to calculate the text width, and if it is greater then the space available reduce the size of the font.

    with sprite fonts you can adjust the character spacing...

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)