#~ class TitleSprite1 < Sprite
#~ def initialize
#~ super
#~ self.x = 320
#~ self.y = 320
#~ self.ox = 320
#~ self.oy = 320
#~ self.bitmap = Cache.load_bitmap("Title21")
#~ self.opacity = 0
#~ end
#~ def update
#~ spriteswitch3 if self.opacity < 255
#~ if $titletime >= 289 and $titletime <= 322
#~ Graphics.transition(32, "Graphics/TitleTransition2.png")
#~ Graphics.freeze
#~ self.bitmap = Cache.load_bitmap("Title23")
#~ $titletime += 1
#~ elsif $titletime >= 323 and $titletime <= 356
#~ Graphics.transition(32, "Graphics/TitleTransition2.png")
#~ Graphics.freeze
#~ self.bitmap = Cache.load_bitmap("Title24")
#~ $titletime += 1
#~ elsif $titletime >= 327 and $titletime <= 360
#~ Graphics.transition(32, "Graphics/TitleTransition2.png")
#~ Graphics.freeze
#~ self.bitmap = Cache.load_bitmap("Title2")
#~ $titletime += 1
#~ elsif $titletime >= 361
#~ end
#~ end
#~ def spriteswitch3
#~ self.opacity += 3
#~ $spriteswitch4 if self.opacity == 255
#~ end
#~ def spriteswitch4
#~ Graphics.transition(32, "Graphics/TitleTransition2.png")
#~ Graphics.freeze
#~ self.bitmap = Cache.load_bitmap("Title22")
#~ $titletime += 32
#~ end
#~ end
#~ class TitleSprite2 < Sprite
#~ def initialize
#~ super
#~ self.x = 320
#~ self.y = 320
#~ self.ox = 320
#~ self.oy = 320
#~ self.bitmap = Cache.load_bitmap("Title")
#~ self.opacity = 0
#~ end
#~ def update
#~ self.opacity += 6 if self.opacity <= 255
#~ end
#~ end
#~ class TitleSprite3 < Sprite
#~ def initialize
#~ super
#~ self.x = 320
#~ self.y = 320
#~ self.ox = 320
#~ self.oy = 320
#~ self.bitmap = Cache.load_bitmap("Logo1")
#~ self.opacity = 0
#~ end
#~ def update
#~ if self.opacity < 255
#~ self.opacity += 4
#~ $titletime += 1
#~ elsif self.opacity >= 255
#~ $spriteswitch = 3
#~ self.flash(nil, 16)
#~ end
#~ end
#~ end
#~ class TitleSprite4 < Sprite
#~ def initialize
#~ super
#~ self.x = 320
#~ self.y = 320
#~ self.ox = 320
#~ self.oy = 320
#~ self.bitmap = Cache.load_bitmap("Logo2")
#~ self.opacity = 0
#~ end
#~ def update
#~ if self.opacity < 255
#~ self.opacity += 8
#~ elsif $titletime >= 256
#~ self.flash(nil, 16)
#~ end
#~ end
#~ end
#~ class TitleSprite5 < Sprite
#~ def initialize
#~ super
#~ self.bitmap = Cache.load_bitmap("Title3")
#~ self.opacity = 0
#~ end
#~ def update
#~ end
#~ end
#~ class TitleSprite6 < Sprite
#~ def initialize
#~ super
#~ self.bitmap = Cache.load_bitmap("")
#~ self.opacity = 0
#~ end
#~ def update
#~ end
#~ end
#~ class TitleSprite7 < Sprite
#~ def initialize
#~ super
#~ self.bitmap = Cache.load_bitmap("")
#~ self.opacity = 0
#~ end
#~ def update
#~ end
#~ end
#~ class TitleSprite8 < Sprite
#~ def initialize
#~ super
#~ self.bitmap = Cache.load_bitmap("")
#~ self.opacity = 0
#~ end
#~ def update
#~ end
#~ end
class Scene_Title
def start
Graphics.frame_rate = 48
#~ @s1 = TitleSprite1.new
#~ @s2 = TitleSprite2.new
#~ @s3 = TitleSprite3.new
#~ @s4 = TitleSprite4.new
#~ @s5 = TitleSprite5.new
#~ @s6 = TitleSprite6.new
#~ @s7 = TitleSprite7.new
#~ @s8 = TitleSprite8.new
$titletime = 0
@s1 = Sprite.new
@s2 = Sprite.new
@s3 = Sprite.new
@s4 = Sprite.new
@s5 = Sprite.new
@s6 = Sprite.new
@s7 = Sprite.new
@s8 = Sprite.new
@s1.bitmap = Bitmap.new("Graphics/Logo1.png")
@s2.bitmap = Bitmap.new("Graphics/Logo2.png")
@s3.bitmap = Bitmap.new("Graphics/Title21.png")
@s4.bitmap = Bitmap.new("Graphics/Title.png")
@s5.bitmap = Bitmap.new("Graphics/Title3.png")
#~ @s6.bitmap = Cache.load_bitmap("")
#~ @s7.bitmap = Cache.load_bitmap("")
#~ @s8.bitmap = Cache.load_bitmap("")
@s1.x = 320
@s2.x = 320
@s3.x = 320
@s4.x = 320
@s5.x = 320
@s6.x = 320
@s7.x = 320
@s8.x = 320
@s1.y = 240
@s2.y = 240
@s3.y = 240
@s4.y = 240
@s5.y = 240
@s6.y = 240
@s7.y = 240
@s8.y = 240
@s1.z = 241
@s2.z = 241
@s3.z = 240
@s4.z = 240
@s5.z = 240
@s6.z = 240
@s7.z = 240
@s8.z = 240
@s1.ox = 320
@s2.ox = 320
@s3.ox = 320
@s4.ox = 320
@s5.ox = 320
@s6.ox = 320
@s7.ox = 320
@s8.ox = 320
@s1.oy = 240
@s2.oy = 240
@s3.oy = 240
@s4.oy = 240
@s5.oy = 240
@s6.oy = 240
@s7.oy = 240
@s8.oy = 240
@s1.opacity = 0
@s2.opacity = 0
@s3.opacity = 0
@s4.opacity = 0
@s5.opacity = 0
@s6.opacity = 0
@s7.opacity = 0
@s8.opacity = 0
for i in 0...64
Graphics.wait(1)
@s1.opacity += 4
end
Graphics.wait(1)
for i in 0...32
Graphics.wait(1)
@s2.opacity += 8
end
Graphics.wait(160)
#~ @s1.flash(Color.new(255, 255, 255), 4)
#~ @s2.flash(Color.new(255, 255, 255), 4)
#~ @s1.flash(nil, 4)
#~ @s2.flash(nil, 4)
for i in 0...128
Graphics.wait(1)
@s5.opacity += 2
end
Graphics.wait(1)
for i in 0...16
Graphics.wait(1)
@s3.opacity += 16
end
Graphics.wait(1)
Graphics.transition(32, "Graphics/TitleTransition2.png")
Graphics.freeze
@s3.bitmap = Bitmap.new("Graphics/Title22.png")
Graphics.wait(32)
Graphics.transition(32, "Graphics/TitleTransition2.png")
Graphics.freeze
@s3.bitmap = Bitmap.new("Graphics/Title23.png")
Graphics.wait(32)
Graphics.transition(32, "Graphics/TitleTransition2.png")
Graphics.freeze
@s3.bitmap = Bitmap.new("Graphics/Title24.png")
Graphics.wait(32)
Graphics.transition(32, "Graphics/TitleTransition2.png")
Graphics.freeze
@s3.bitmap = Bitmap.new("Graphics/Title2.png")
Graphics.wait(32)
end
end