Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[Resolved] 3 line window_message edit

Status
Not open for further replies.
okay. You know how with the standard window_message class you have 3 lines
of text and i empty "unused but looks like possible line space" under it? How would you get rid of that?

to clear this up, an example
message window.

Line one _ _ _text _ __ __
Line two _ _ _ _ __ _ _text
Line three __text _ __ _ _
------Empty space-------

if you could help me, please show me how to get rid of that 4th "line of empty space".



thanks.:sweat02:
 

Tana

Member

Wait, you want to just get rid of the space, not add the fourth line?

That's actually fairly easy, if that's the case.

in Window_Message
class Window_Message < Window_Selectable
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
super(80, 304, 480, 160)
Instead of 160, change it to like 128 or something. That's the number that affects the height of the message window.

the numbers in the parenths are (Xplacement, Yplacement, Width, Height)
 
you actually CAN use that fourth line... but it come with a but... a big BUT... you can't edit the text anymore! You'll need to use batch text entry. (click right in the list of event commands and select Batch text entry.)
Also, note that the fourth line is also being used in selectable windows! (two lines of text and two options below!)
 
This topic has been resolved. If .[Bluehazed]. or any other users have any questions or further problems regarding this topic, please create a new thread about them.

Thank you!
 
Status
Not open for further replies.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top