The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: skyrune83 on January 10, 2011, 01:45:54 AM

Title: Event Text is cut off right-hand side of window
Post by: skyrune83 on January 10, 2011, 01:45:54 AM
I think there is a bug with the way text displays in the game.  See my attachment.  The last letter on my second line of text is cut off.  As far as I know I am not using any custom windows or fonts, so is there a way to fix this so the last letter of text is not cut off? (other than having to change the text to fit differently?)
Title: Re: Event Text is cut off right-hand side of window
Post by: modern algebra on January 10, 2011, 02:26:29 AM
No, you have to change the text in the window itself. As long as you stay to the left of the black arrow in the text editor, you should be able to manage it.
Title: Re: Event Text is cut off right-hand side of window
Post by: Grafikal on January 10, 2011, 03:15:39 AM
:facepalm:
Title: Re: Event Text is cut off right-hand side of window
Post by: skyrune83 on January 10, 2011, 03:48:39 AM
Is there some way to change code somewhere to enlarge the text window width by a few pixels?
Title: Re: Event Text is cut off right-hand side of window
Post by: Grafikal on January 10, 2011, 04:12:38 AM
there's seriously no reason for that at all, but there probably are with a cms
Title: Re: Event Text is cut off right-hand side of window
Post by: Irock on January 10, 2011, 04:29:31 AM
If you want to change the width of the text window, add this line under super(80, 304, 480, 160) in Window_Message

Code: [Select]
self.width = 640
640 is 640 pixels, the width of the screen. You can change this.

Then change 80 to how far from the left you want the window to be in the line you pasted that under (0 being on the left):
Code: [Select]
super(80, 304, 480, 160)


Title: Re: Event Text is cut off right-hand side of window
Post by: Irock on January 10, 2011, 04:30:51 AM
Keep in mind I don't know shit about RGSS or any programming language. I just spent two minutes playing around with it and found out how to do this.
Title: Re: Event Text is cut off right-hand side of window
Post by: Dyre on January 10, 2011, 06:04:49 AM
It may benefit you a bit more to find a Custom Message Script around here somewhere and learn to make better use of your text space.
The default message system is limiting and irritating to enough people that hardly any projects are made without some form of custom one.
With a custom one you could add little tails to make the dialogue boxes look like speech bubbles and even have them floating over the speaker's head. It's both helpful for showing who is speaking and aesthetically pleasing.

Good formatting can go a long way, especially in a game - where one of your primary forms of communicating with the player is through text.
Title: Re: Event Text is cut off right-hand side of window
Post by: skyrune83 on January 10, 2011, 02:38:35 PM
It may benefit you a bit more to find a Custom Message Script around here somewhere and learn to make better use of your text space.
The default message system is limiting and irritating to enough people that hardly any projects are made without some form of custom one.

Actually, I WAS using a Custom Message Script - when I first saw the text cut off, I thought it was because of the script.  Then I removed the script, and the text was still cut off. 

I swear, Enterbrain really skimped on the main text functionality...
Title: Re: Event Text is cut off right-hand side of window
Post by: &&&&&&&&&&&&& on January 11, 2011, 08:05:17 AM
You could change the font size.
I don't have RPG maker on hand...

 I think it's...
     
Code: [Select]
fontsize = (size)
... or something.