赞 | 3 |
VIP | 0 |
好人卡 | 39 |
积分 | 1 |
经验 | 101436 |
最后登录 | 2017-9-1 |
在线时间 | 2276 小时 |
Lv1.梦旅人 路人党员
- 梦石
- 0
- 星屑
- 52
- 在线时间
- 2276 小时
- 注册时间
- 2010-12-30
- 帖子
- 3225
|
本帖最后由 英顺的马甲 于 2011-9-12 21:54 编辑
李梦遥 发表于 2011-9-12 16:05 ![]()
不行,鼠标的主要问题是,如果有两个任务,鼠标选择两个任务的名称不能切换内容,而键盘上下则可以切换 ...
把- def update
- @mission_window.update
- @info_window.update
- if Input.trigger?(Input::B)
- $game_system.se_play($data_system.cancel_se)
- $scene = Scene_Map.new
- return
- end
- if Input.repeat?(Input::UP) or
- Input.repeat?(Input::DOWN)
- info = $game_party.mission.info[@mission_window.index].clone
- @info_window.refresh(info)
- end
复制代码 换成- def update
- @mission_window.update
- @info_window.update
- if Input.trigger?(Input::B)
- $game_system.se_play($data_system.cancel_se)
- $scene = Scene_Map.new
- return
- end
- if @index != @mission_window.index
- info = $game_party.mission.info[@mission_window.index].clone
- @info_window.refresh(info)
- @index = @mission_window.index
- end
复制代码 |
|