view = Viewport.new(0,0,640,480)
view.z = -5
background = Sprite.new
background.bitmap = RPG::Cache.title("1.png")
background.x = 13
background.y = 13
background.z = 0
background2 = Sprite.new
background2.bitmap = RPG::Cache.title("Opening100.png")
background2.x = 13
background2.y = 13
background2.z = 0
start = Sprite.new
start.bitmap = RPG::Cache.title("Opening100.png")
start.x = 81
start.y = 167 + 215
start.z = 5
start.visible = false
Graphics.transition(5)
timer = 0
frame = 0
loop do
Graphics.update
Input.update
timer += 1
frame += 1
if timer > 20 and timer%35 == 0
start.visible = !start.visible
end
if frame == 0
background2.bitmap = RPG::Cache.title("1.png")
end
if frame == 2
background2.bitmap = RPG::Cache.title("2.png")
end
if frame == 4
background2.bitmap = RPG::Cache.title("3.png")
end
if frame == 6
background2.bitmap = RPG::Cache.title("4.png")
end
if frame == 8
background2.bitmap = RPG::Cache.title("5.png")
end
if frame == 10
background2.bitmap = RPG::Cache.title("6.png")
end
if frame == 12
background2.bitmap = RPG::Cache.title("7.png")
end
if frame == 14
background2.bitmap = RPG::Cache.title("8.png")
end
if frame == 16
background2.bitmap = RPG::Cache.title("9.png")
end
if frame == 18
background2.bitmap = RPG::Cache.title("10.png")
end
if frame == 20
background2.bitmap = RPG::Cache.title("11.png")
end
if frame == 22
background2.bitmap = RPG::Cache.title("12.png")
end
if frame == 24
background2.bitmap = RPG::Cache.title("13.png")
end
if frame == 28
background2.bitmap = RPG::Cache.title("14.png")
end
if frame == 32
background2.bitmap = RPG::Cache.title("15.png")
end
if frame == 36
background2.bitmap = RPG::Cache.title("16.png")
end
if frame == 40
background2.bitmap = RPG::Cache.title("17.png")
end
if frame == 44
background2.bitmap = RPG::Cache.title("18.png")
end
if frame == 48
background2.bitmap = RPG::Cache.title("19.png")
end
if frame == 52
background2.bitmap = RPG::Cache.title("20.png")
end
if frame == 56
background2.bitmap = RPG::Cache.title("21.png")
end
if frame == 60
background2.bitmap = RPG::Cache.title("22.png")
end
if frame == 65
background2.bitmap = RPG::Cache.title("23.png")
end
if frame == 70
background2.bitmap = RPG::Cache.title("24.png")
end
if frame == 75
background2.bitmap = RPG::Cache.title("25.png")
end
if frame == 80
background2.bitmap = RPG::Cache.title("26.png")
end
if frame == 85
background2.bitmap = RPG::Cache.title("27.png")
end
if frame == 90
background2.bitmap = RPG::Cache.title("28.png")
end
if frame == 95
background2.bitmap = RPG::Cache.title("29.png")
end
if frame == 100
background2.bitmap = RPG::Cache.title("30.png")
end
if frame == 104
background2.bitmap = RPG::Cache.title("31.png")
end
if frame == 108
background2.bitmap = RPG::Cache.title("32.png")
end
if frame == 112
background2.bitmap = RPG::Cache.title("33.png")
end
if frame == 116
background2.bitmap = RPG::Cache.title("34.png")
end
if frame == 120
background2.bitmap = RPG::Cache.title("35.png")
end
if frame == 124
background2.bitmap = RPG::Cache.title("36.png")
end
if frame == 128
background2.bitmap = RPG::Cache.title("37.png")
end
if frame == 132
background2.bitmap = RPG::Cache.title("38.png")
end
if frame == 136
background2.bitmap = RPG::Cache.title("39.png")
end
if frame == 140
background2.bitmap = RPG::Cache.title("40.png")
end
if frame == 144
background2.bitmap = RPG::Cache.title("41.png")
end
if frame == 148
background2.bitmap = RPG::Cache.title("42.png")
end
if frame == 152
background2.bitmap = RPG::Cache.title("43.png")
end
if frame == 156
background2.bitmap = RPG::Cache.title("44.png")
end
if frame == 160
background2.bitmap = RPG::Cache.title("45.png")
end
if frame == 164
background2.bitmap = RPG::Cache.title("46.png")
end
if frame == 168
background2.bitmap = RPG::Cache.title("47.png")
end
if frame == 172
background2.bitmap = RPG::Cache.title("48.png")
Audio.se_play("Audio/SE/033Cry.wav",100,100)
end
if frame == 176
background2.bitmap = RPG::Cache.title("49.png")
end
if frame == 180
background2.bitmap = RPG::Cache.title("50.png")
end
if frame == 184
background2.bitmap = RPG::Cache.title("51.png")
end
if frame == 188
background2.bitmap = RPG::Cache.title("52.png")
end
if frame == 192
background2.bitmap = RPG::Cache.title("53.png")
end
if frame == 196
background2.bitmap = RPG::Cache.title("54.png")
end
if frame == 200
background2.bitmap = RPG::Cache.title("55.png")
end
if frame == 204
background2.bitmap = RPG::Cache.title("56.png")
end
if frame == 208
background2.bitmap = RPG::Cache.title("57.png")
end
if frame == 212
background2.bitmap = RPG::Cache.title("58.png")
end
if frame == 216
background2.bitmap = RPG::Cache.title("59.png")
end
if frame == 220
background2.bitmap = RPG::Cache.title("60.png")
end
if frame == 224
background2.bitmap = RPG::Cache.title("61.png")
Audio.se_play("Audio/SE/017-Jump03.ogg",100,100)
end
if frame == 228
background2.bitmap = RPG::Cache.title("62.png")
end
if frame == 232
background2.bitmap = RPG::Cache.title("63.png")
end
if frame == 236
background2.bitmap = RPG::Cache.title("64.png")
end
if frame == 240
background2.bitmap = RPG::Cache.title("65.png")
end
if frame == 244
background2.bitmap = RPG::Cache.title("66.png")
end
if frame == 248
background2.bitmap = RPG::Cache.title("67.png")
end
if frame == 252
background2.bitmap = RPG::Cache.title("68.png")
end
if frame == 256
background2.bitmap = RPG::Cache.title("69.png")
end
if frame == 260
background2.bitmap = RPG::Cache.title("70.png")
end
if frame == 264
background2.bitmap = RPG::Cache.title("71.png")
end
if frame == 268
background2.bitmap = RPG::Cache.title("72.png")
end
if frame == 272
background2.bitmap = RPG::Cache.title("73.png")
end
if frame == 276
background2.bitmap = RPG::Cache.title("74.png")
end
if frame == 280
background2.bitmap = RPG::Cache.title("75.png")
end
if frame == 284
background2.bitmap = RPG::Cache.title("76.png")
end
if frame == 288
background2.bitmap = RPG::Cache.title("77.png")
end
if frame == 292
background2.bitmap = RPG::Cache.title("78.png")
end
if frame == 296
background2.bitmap = RPG::Cache.title("79.png")
end
if frame == 300
background2.bitmap = RPG::Cache.title("80.png")
end
if frame == 304
background2.bitmap = RPG::Cache.title("81.png")
end
if frame == 308
background2.bitmap = RPG::Cache.title("82.png")
end
if frame == 312
background2.bitmap = RPG::Cache.title("83.png")
end
if frame == 316
background2.bitmap = RPG::Cache.title("84.png")
end
if frame == 320
background2.bitmap = RPG::Cache.title("85.png")
end
if frame == 324
background2.bitmap = RPG::Cache.title("86.png")
end
if frame == 328
background2.bitmap = RPG::Cache.title("87.png")
end
if frame == 332
background2.bitmap = RPG::Cache.title("88.png")
end
if frame == 336
background2.bitmap = RPG::Cache.title("89.png")
end
if frame == 340
background2.bitmap = RPG::Cache.title("90.png")
end
if frame == 344
background2.bitmap = RPG::Cache.title("91.png")
end
if frame == 348
background2.bitmap = RPG::Cache.title("92.png")
end
if frame == 352
background2.bitmap = RPG::Cache.title("93.png")
end
if frame == 356
background2.bitmap = RPG::Cache.title("94.png")
end
if frame == 400
background2.bitmap = RPG::Cache.title("95.png")
end
if frame == 404
background2.bitmap = RPG::Cache.title("96.png")
end
if frame == 408
background2.bitmap = RPG::Cache.title("97.png")
end
if frame == 412
background2.bitmap = RPG::Cache.title("98.png")
end
if frame == 416
background2.bitmap = RPG::Cache.title("99.png")
end
if frame == 420
background2.bitmap = RPG::Cache.title("100.png")
end
if frame == 424
background2.bitmap = RPG::Cache.title("101.png")
end
if frame == 428
background2.bitmap = RPG::Cache.title("102.png")
end
if frame == 432
background2.bitmap = RPG::Cache.title("103.png")
end
if frame == 436
background2.bitmap = RPG::Cache.title("104.png")
end
if frame == 440
background2.bitmap = RPG::Cache.title("105.png")
end
Audio.bgm_play("Audio/ME/标题前开场.ogg")
if timer > 20
if Input.trigger?(Input::C)
break
end
if timer > 490
break
end
end
end
Graphics.freeze
background.dispose
background2.dispose
start.dispose
Audio.bgm_stop