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.

MogHunter VX Quick Question

Ok I'm using the Mog Menu Yui in a VX project and I need the Map name slide down by a few pixels (maybe 5 or 10). I found the location in the script that handles where the Map name is drawn but when I edit it, the text becomes squished vertically.
Code:
def refresh
    self.contents.clear
    self.contents.font.color = normal_color
    self.contents.draw_text(4, 0, 120, 32, $game_map.mpname.to_s, 1)
end

http://i33.tinypic.com/1zn7as1.png[/img]

Any help with correcting this would be appreciated.
 
Code:
class Window_Mapname < Window_Base
  def initialize(x, y)
    super(x, y, 160, WLH + 32)
    self.contents.font.bold = true
    self.contents.font.size = 16    
    refresh
  end  
def refresh
    self.contents.clear
    self.contents.font.color = normal_color
    self.contents.draw_text(4, 0, 120, 48, $game_map.mpname.to_s, 1)
end
end
 

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