Forum rules - please read before posting.

Subtitles not fit within screen

Hello again,

Another problem and this one is trickier for me as it was not the case before, so I suppose I changed something, but don't know what ^^'

The subtitles menu doesn't want to fit within screen despite that "always fit within screen" is checked

Where should I look to find the problem ?

Example : there's 5 lines from 1 to 5 :

Thanks !

Comments

  • That's weird because sometimes it works as intended :
    (player is speaking but in the first example it's the player too and it doesn't work)

    And sometimes not so well :
    (A npc is speaking)

  • The "fit within screen" feature works by adjusting the position of the Menu's "RectTransform boundary", which will need to be set up so as to span the Menu's visible content, i.e. cover the text being shown.

    Are you enforcing an aspect ratio within the Settings Manager, or Game window? If so, you need to attach the Auto Correct UI Dimensions component to your root prefab, which can be used to make further adjustments based on the "playable" portion of the screen, as opposed to the full size of the monitor.

  • Hey thanks !

    So it was not Auto Correct UI dimensions that did the trick for me, but it made me think about the size of the subtitles, and it only happen when the texts are big AND the NPC or player are near the screen border.

    So I just add a content size filter with vertical fit to prefered size on the TextMeshPro and it worked :smiley:

    Thanks a lot for your help !

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.