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.

Text Window not positioning properly

Simple question I think. I'm trying to change the position of text windows during scenes, and the super command seems to be ignoring my y value.

I'm using the default window script and I'm going to the Window_Message class to change the super(x,y,height,width) values. The function is using all of my values except the y value. No matter what I put in there, the window doesnt budge.

Some examples I tried

super(224, 192, 192, 64)
super(224, 0, 192, 64)
super(224, 400, 192, 64)

All these result in the window being anchored to the same y position.
 

OS

Sponsor

Can you post screens? I see that the X doesn't change at all, but the Y's are all different, so I think you are confused. Or maybe it is just me? If you post a screen of each in action, it'd be really helpful.
 
You need to look further down the Window_Message script.
See lines 174, 176 and 178. Those make the window change (y) position based on the $game_system.message_position variable.
 

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