I have all my dialogue set up. And then I go playtest it...
And some of them are cut off!
This has happened almost everytime I'm writing a line that's longer than a few words: having to figure out where I want the cut to appear considering message faces, control codes, fonts, and other factors that would change the size of text.
How do you deal with this?
I use the preview button. It seems to work correctly for me. Then I just adjust from there, but yeah, it really isn't easy to do. Sometimes I end up separating the text into separate message boxes per sentence just to not cut off at a weird part.
I just remember where it will cut it off when typing in text. Because, iv'e noticed it's a consistent point
which is always before the arrows in the text box... by about 5 to 7 letters
From my experience, without changing the font to be around 18 (default is 24?), it is inconsistent. Sometimes I write far before the first arrow, and it already cuts off, sometimes I write farther to the right of the arrow and it still shows.
I wrote my own script for displaying messages, and I just check the render size of words with a size modification based on the font size and individual fonts (I adjust this in a settings area), and it automatically makes new lines and new "pages" perfectly. Since I also do size comparison of whole words instead of letters, it's far more performant than any of the alternate scripts I tried.
I go through it manually. If it's worth doing, it's worth doing right. It's not that bad once you learn where the barriers are, and how to calculate text codes accordingly.
I just make note during testing of what lines need to be adjusted.
There is a script that allows you to edit while play testing (I think it's called Enable Edit While Testing, but I don't recall who wrote it and I don't have my project with me to look it up), that makes it much easier.
I prefer using a word-wrapper because that removes the need for a constant check for each dialogue.
But even if I didn't like it, I'd be obliged to use it because my game is multi-language and you can't check text boxes for a sentence that hasn't been written yet 🙂
Of course, most people here only deal with English versions, but I've seen a few games even on this forum where people asked for authorization to translate into their language.
If no word-wrapper system is in use, it'll take a lot more effort to get a clean result.