赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 0 |
经验 | 3487 |
最后登录 | 2025-4-3 |
在线时间 | 71 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 37
- 在线时间
- 71 小时
- 注册时间
- 2015-11-28
- 帖子
- 44
|
要的是开始菜单的修改脚本
类似这个版本检查脚本:- #只是个示范如果使用。在标题添加一个按钮,进行版本检查
- class Window_TitleCommand < Window_Command
- #--------------------------------------------------------------------------
- # ● 生成指令列表
- #--------------------------------------------------------------------------
- def make_command_list
- add_command(Vocab::new_game, :new_game)
- add_command(Vocab::continue, :continue, continue_enabled)
- add_command("版本检查", :version_check)
- add_command(Vocab::shutdown, :shutdown)
- end
- end
- class Scene_Title < Scene_Base
- #--------------------------------------------------------------------------
- # ● 生成指令窗口
- #--------------------------------------------------------------------------
- alias version_check_create_command_window create_command_window
- def create_command_window
- version_check_create_command_window
- @command_window.set_handler(:version_check, method(:command_version_check))
- end
- def command_version_check
- Game_Version.check
- @command_window.activate
- end
- end
复制代码 |
评分
-
查看全部评分
|