class Window_BattleStatus < Window_Base
alias ox20201124 update
def update
ox20201124
self.visible = !$game_system.map_interpreter.running?
end
end
把这段塞到 main 前 window_battleStatus 后面随意位置试试 作者: RPGzh500223 时间: 2020-11-24 16:33
class Scene_Battle
alias ori_update update
def update
ori_update
@status_window.visible = ($game_temp.message_window_showing==false)
end
end
非常感谢,
不过虽然界面隐藏,但是战斗图还在,请问这个应该怎么一并隐藏掉?作者: RPGzh500223 时间: 2020-11-25 12:11
#不推荐opacity变化
class Spriteset_Battle
alias ori_update update
def update
ori_update
if $game_temp.message_window_showing
for i in @actor_sprites
i.visible = false
end
else
for i in @actor_sprites
i.visible = true
end
end
end
end