class Scene_Sakura
def initialize()
@count = 0
@sprite = nil
@viewport = Viewport.new(0,0,640,480)
@sprite = Sprite.new(@viewport)
@viewport.z = 1000
@sprite.x = 0
@sprite.y = 0
@sprite.zoom_x = 1.5
@sprite.zoom_y = 1.5
@sprite.blend_type = 1
@sprite.visible = true
@sprite.mirror = true
@bitmaps = []
for i in 0..306
@bitmaps.push(Bitmap.new("Graphics/sakura/emm_3990-#{i}.png"))
end
@sprite.bitmap = @bitmaps[@count]
end
def update
@count += 0.5
@sprite.bitmap = @bitmaps[@count.round]
if @count == 306
@count = 0
end
end
end
class Scene_Sakura
def initialize()
@count = 0
@sprite = nil
@viewport = Viewport.new(0,0,640,480)
@sprite = Sprite.new(@viewport)
@viewport.z = 1000
@sprite.x = 0
@sprite.y = 0
@sprite.zoom_x = 1.5
@sprite.zoom_y = 1.5
@sprite.blend_type = 1
@sprite.visible = true
@sprite.mirror = true
@bitmaps = []
for i in 0..306
@bitmaps.push(Bitmap.new("Graphics/sakura/emm_3990-#{i}.png"))
end
@sprite.bitmap = @bitmaps[@count]
end
def update
@count += 0.5
@sprite.bitmap = @bitmaps[@count.round]
if @count == 306
@count = 0
end
end
end