class Scene_Menu < Scene_MenuBase
#--------------------------------------------------------------------------
# ● 开始处理
#--------------------------------------------------------------------------
alias qqeat_start start
def start
qqeat_start
@picture = []
for i in 1..5
@picture.push(Cache::picture(i.to_s))
end
@ppp = Sprite.new
@ppp.z = 10000
@num = 0
end
def dispose_background
super
@ppp.dispose
end
def update
super
@ppp.bitmap = @picture[@num]
@num += 1
@num = 0 if @num > @picture.length - 1
end
end
class Scene_Menu < Scene_MenuBase
#--------------------------------------------------------------------------
# ● 开始处理
#--------------------------------------------------------------------------
alias qqeat_start start
def start
qqeat_start
@picture = []
for i in 1..5
@picture.push(Cache::picture(i.to_s))
end
@ppp = Sprite.new
@ppp.z = 10000
@num = 0
end
def dispose_background
super
@ppp.dispose
end
def update
super
@ppp.bitmap = @picture[@num]
@num += 1
@num = 0 if @num > @picture.length - 1
end
end