#-------------------------------------------------------------------------- # ● 生成指令窗口 #-------------------------------------------------------------------------- def create_command_window @command_window = Window_MenuCommand.new @command_window.set_handler(:item, method(:command_item)) @command_window.set_handler(:skill, method(:command_personal)) @command_window.set_handler(:equip, method(:command_personal)) @command_window.set_handler(:status, method(:command_personal)) @command_window.set_handler(:formation, method(:command_formation)) @command_window.set_handler(:save, method(:command_save)) @command_window.set_handler(:game_end, method(:command_game_end)) @command_window.set_handler(:cancel, method(:return_scene)) end
@command_window.x = -10
def update super end
def update super if xxx end end
def update super if @command_window.x >= 0 else @command_window.x += 2 end end
发生神马事了= =
你不会漏了什么吧= =
未命名1.JPG (40.52 KB, 下载次数: 31)
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |