赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 0 |
经验 | 0 |
最后登录 | 2015-7-3 |
在线时间 | 28 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 470
- 在线时间
- 28 小时
- 注册时间
- 2012-8-2
- 帖子
- 3
|
这还是有出错阿
这个
插下去只会显现系统时间
但你还有游戏时间要显现阿
所以要在第17行那插入成
- create_timer_window
- create_playtime_window
复制代码
这样才换显现县两个
整体而言是这样,加上楼主的两个时间脚本再改Scene_Menu,修改这个大概是9~57行
- #--------------------------------------------------------------------------
- # ● 开始处里
- #--------------------------------------------------------------------------
- def start
- super
- create_command_window
- create_gold_window
- create_status_window
- create_timer_window
- create_playtime_window
- end
- #--------------------------------------------------------------------------
- # ● 生成指令视窗
- #--------------------------------------------------------------------------
- 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
- #--------------------------------------------------------------------------
- # ● 生成金钱窗口
- #--------------------------------------------------------------------------
- def create_gold_window
- @gold_window = Window_Gold.new
- @gold_window.x = 0
- @gold_window.y = Graphics.height - @gold_window.height
- end
- #--------------------------------------------------------------------------
- # ● 生成游戏时间窗口
- #--------------------------------------------------------------------------
- def create_playtime_window
- @playtime_window = Window_PlayTime.new
- @playtime_window.x = 0
- @playtime_window.y = Graphics.height - @gold_window.height - @playtime_window.height
- end
- #--------------------------------------------------------------------------
- # ● 生成系统时间窗口
- #--------------------------------------------------------------------------
- def create_timer_window
- @timer_window = Window_Timer.new
- @timer_window.x = 0
- @timer_window.y = Graphics.height - @gold_window.height - @playtime_window.height - @timer_window.height
- end
复制代码 |
|