TIM截图20180223175251.png (100.12 KB, 下载次数: 25)
class Window_MenuCommand < Window_Command def initialize super(0, 0) select_last end def window_width Graphics.width end def visible_line_number 2 end def col_max if item_max % 2 == 1 ; item_max / 2 + 1 else ; item_max / 2 end end end class Window_Playtime < Window_Base def initialize(x, y, width) super(x, y, width, fitting_height(1)) update end def update super contents.clear draw_text(contents.rect, $game_system.playtime_s, 1) end end class Scene_Menu < Scene_MenuBase alias :hawkeye_start :start def start hawkeye_start x = @gold_window.width y = @status_window.height w = Graphics.width - @gold_window.width @playtime = Window_Playtime.new(x, y, w) end end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |