dark_curtain = Sprite.new
dark_curtain.bitmap = Bitmap.new(640,480)
dark_curtain.opacity = 0
dark_curtain.bitmap.fill_rect(0,0,640,480,Color.new(0,0,0))
dark_curtain.z = 10000
loop do
# 刷新游戏画面
Graphics.update
# 刷新输入信息
Input.update
dark_curtain.opacity += 25
dark_curtain.update
if dark_curtain.opacity >= 255
break
end
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |