class Scene_Orz
def main
@orz = Window_Base.new(0,0,300,300)
# 执行过度
Graphics.transition
# 主循环
loop do
# 刷新游戏画面
Graphics.update
# 刷新输入信息
Input.update
# 刷新画面
update
# 如果画面切换就中断循环
if $scene != self
break
end
end
# 装备过渡
Graphics.freeze
@orz.dispose
end
def update
@orz.update
end
end
class Scene_Orz
def main
@orz = Window_Base.new(0,0,300,300)
@orz.opacity = 120
@s = Spriteset_Map.new
# 执行过度
Graphics.transition
# 主循环
loop do
# 刷新游戏画面
Graphics.update
# 刷新输入信息
Input.update
# 刷新画面
update
# 如果画面切换就中断循环
if $scene != self
break
end
end
# 装备过渡
Graphics.freeze
@orz.dispose
@s.dispose
end
def update
@orz.update
end
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |