#==============================================================================# ** Window_TitleCommand#------------------------------------------------------------------------------# This window is for selecting New Game/Continue on the title screen.#==============================================================================class Window_TitleCommand < Window_Command #-------------------------------------------------------------------------- # * New Font Settings #-------------------------------------------------------------------------- def new_font_settings contents.font.name = "VL Gothic" contents.font.size = 20 contents.font.bold = false contents.font.shadow = false contents.font.outline = true end #-------------------------------------------------------------------------- # * Refresh #-------------------------------------------------------------------------- def refresh new_font_settings draw_all_items reset_font_settings endendI put all the font settings in a separate def so you can read it easier.
hooo my ....Why I don't think in this way!
thanks nathan : D!
I totally forgot about the COntent way!
but you forgot to change the window size xD
I didn't see anything about window size so I never changed it. But your welcome Nio, ha ha. =P
Well not only height, but now we are talking line height too.
add this def in the window
#-------------------------------------------------------------------------- # * Get Line Height #-------------------------------------------------------------------------- def line_height return 24 end #-------------------------------------------------------------------------- # * Get Window Height #-------------------------------------------------------------------------- def window_height return fitting_height(item_max) endBe sure to match your line_height to the size of your font. I've included the window_height def as well in case you need to up size the window.
I also do extra safety checks sometimes just to make sure. 🙂
yeah me to I always do refresh just in case for avoid some little glitch or bug who make you rage D: