So I used this guy's script to show a couple of logos before the title screen:
My questions:
#1. Is there any way to alter this to keep the background music streaming when the title screen appears?
#2. Is there any way to alter it so that the player can press a key to skip the logos?
#3. Is there simply a better script out there to accomplish this sort of thing?
Thanks!!
- Tillman
Code:
#-------------------Logo Script by Adrianmati---------
#---------Music feature added by Hypershadow180-----
#------------------------------------------------------------
#---------Fade Ver. 2 pictures edit by Takrena-----
a=0
Audio.bgm_play ("Audio/BGM/060-Slow03", 90, 100)
logo = Sprite.new
logo.bitmap = Bitmap.new("Graphics/Pictures/file name here.png")
logo.ox = logo.bitmap.width / 2
logo.oy= logo.bitmap.height / 2
logo.x = 320
logo.y = 240
logo.opacity = 0
for i in 0..5
logo.opacity += 50
Graphics.update
sleep(0.1)
end
loop do
Graphics.update
a += 1
if a == 200
break
end
end
for u in 0..5
logo.opacity -= 50
Graphics.update
sleep(0.2)
end
k = Sprite.new
k.bitmap = Bitmap.new("Graphics/Pictures/file name here.png")
k.ox = k.bitmap.width / 2
k.oy= k.bitmap.height / 2
k.x = 320
k.y = 240
k.visible = true
k.opacity = 1
for i in 0..5
k.opacity += 50
Graphics.update
sleep(0.2)
end
loop do
Graphics.update
a += 0
if a == 200
break
end
end
for u in 0..5
k.opacity -= 50
Graphics.update
sleep(0.3)
end
logo.visible = false
k.visible = true
k.visible = false
My questions:
#1. Is there any way to alter this to keep the background music streaming when the title screen appears?
#2. Is there any way to alter it so that the player can press a key to skip the logos?
#3. Is there simply a better script out there to accomplish this sort of thing?
Thanks!!
- Tillman