def create_background
[url=home.php?mod=space&uid=114926]@sprite[/url] = Sprite.new
#上面的代码记得把 [url=home.php?mod=space&uid=114926]和[/url]删掉
if $game_switches[2]
@sprite.bitmap=Cache.system("gameover1")
elsif $game_switches[3]
@sprite.bitmap = Cache.system("gameover2")
else
@sprite.bitmap = Cache.system("gameover3")
end
end
def create_background
[url=home.php?mod=space&uid=114926]@sprite[/url] = Sprite.new
#上面的代码记得把 [url=home.php?mod=space&uid=114926]和[/url]删掉
if $game_switches[2]
@sprite.bitmap=Cache.system("gameover1")
elsif $game_switches[3]
@sprite.bitmap = Cache.system("gameover2")
else
@sprite.bitmap = Cache.system("gameover3")
end
end