Auteur: Yukihiro matsumoto
#============================================
# ‘ Scene_Gameover
#----------------------------------------------
# @Q[I[o[ζΚΜπs€NXΕ·B
#============================================
class Scene_Gameover
#------------------------------------------
# C
#------------------------------------------
def main
# Q[I[o[OtBbNπμ¬
@sprite = Sprite.new
@sprite.bitmap = RPG::Cache.gameover($data_system.gameover_name)
# BGMABGS πβ~
$game_system.bgm_play(nil)
$game_system.bgs_play(nil)
# Q[I[o[ ME πt
$game_system.me_play($data_system.gameover_me)
# gWVΐs
Graphics.transition(120)
# C[v
loop do
# Q[ζΚπXV
Graphics.update
# όΝξρπXV
Input.update
# t[XV
update
# ζΚͺΨθΦνΑ½η[vπf
if $scene != self
break
end
end
# gWVυ
Graphics.freeze
# Q[I[o[OtBbNππϊ
@sprite.bitmap.dispose
@sprite.dispose
# gWVΐs
Graphics.transition(40)
# gWVυ
Graphics.freeze
# ν¬eXgΜκ
if $BTEST
$scene = nil
end
end
#------------------------------------------
# t[XV
#------------------------------------------
def update
# C {^ͺ³κ½κ
if Input.trigger?(Input::C)
# ^CgζΚΙΨθΦ¦
$scene = Scene_Title.new
end
end
end |
|