Text Box Margins?

● ARCHIVED · READ-ONLY
Started by TMS 20 posts View original ↗
  1. There's something strange about "Show Text" in VX Ace. Instead of wrapping automatically as it does in XP, you have to insert the line breaks yourself. Annoying, but not too much of a problem. It even gives you margins when you're typing the text, supposedly telling you how much of that line's text can be displayed. But they don't seem to be accurate. I'm not using a picture for the speaker at the moment, but my message is getting cut off well before the arrow for "Margin 2." Yet I see more than what comes before "Margin 1."

    Is there a fix for this? It seems like a major design flaw.
  2. That margin only works for default font of RPG Maker, namely VL Gothic. If you're using custom font, yes it's not really accurate.

    You should getting used to cut the text off by yourself if you're using custom font. Because every font has different size for each letter.
  3. As far as I'm aware, I am using the default font. I certainly haven't gone out of my way to install a new one.
  4. You can use Yanfly's Ace Core Engine script.

    Besides correcting the text display margin, it fixes a lot of other bugs.

    Bear in mind in the further than it may be incompatible with other Core scripts. But It does have a high compatibility rate.
  5. I'll give that a shot. I don't expect the current game, at least, to use many scripts, so there shouldn't be a problem.
  6. Can you give us a screenshot of how it looks in the editor (in the edit text window) and how it looks in the game?


    Any escape codes you use will change the spacing too.
  7. Here's how it looks like in the editor and in the (accurate) preview. As you can see, the actual text goes beyond Margin 1 without reaching Margin 2.

    fTaCCYu.png

    And what are escape codes?
  8. Escape code is something like  \C[n] or \N[n]

    Anyway, it just a preview. And I never trust that preview, I usually test in actual game tho
  9. @Shaz :

    This happens to my RM too.

    @ TMS :

    Hover your mouse over the 'Text' portion next to your face graphics and you will see a help message showing escape codes eg. \V[n], \\.
  10. Oh, okay. Yeah, I'm not using those.

    @TheoAllen:

    The preview is accurate. Here's how it looks in-game.

    k2266b9.png
  11. Well, I just gave that try using Yanfly Core Engine and default font. And I got the same problem lol.

    Tho, I usually use Calibri as my default font, so I never notice something like this.

    Now, I'm curious how people overcome this problem.
  12. Oh, please change the font size to 20 instead of 24.
  13. Is there a way to change the font size without using escape commands?
  14. I use Yanfly's core script and changed the font size there.

    Using Yanfly's script, you can make the message appear properly by one of these two methods :

    1) Change width (line 163) to 640.

    Keep font size (line 197) at 24.

    2) Change width to 544.

    Change font size to 20.
  15. Looks like Yanfly's script is the way to go. It's odd that basic stuff like that doesn't come standard.
  16. I failed to mention that you can change your viewport without any scripts by placing this in your script editor :

    Graphics.resize_screen(640, 416)

    Your text will appear properly as well this way but you will notice a looping problem for minimal sized maps, and you may have to increase the size of your pictures to fit the bigger viewport.

    I like Yanfly's script for the second text method (as I don't have to resize default background and pictures) and his bug fixes.
  17. Well, I installed Yanfly's script, and it definitely fits more text into the box, though it doesn't really make the margins more accurate. It now exceeds Margins 1 and 2, but does not go to the end of the box you type in, so there's still a little guesswork involved.
  18. Well, you can not edit how the editor works by script tho.

    Yes, there's still a little guess work. I hope next RPG Maker fix this issue if there is any.
  19. How odd. Mine works just fine. But you seem to be using Windows 8, mine is 7.

    Plus the text you're using while in show text command looks different from mine.

    You could adjust the font size until it's more or less accurate to your windows message.
  20. Yeah, I'm using Windows 8.1.

    I can live with things as they are, I think. As long as I don't go too far past Margin 2 (don't have text under the red X, basically), I should be fine.