RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Script on Intro Help

Started by oneray, October 23, 2006, 08:55:07 PM

0 Members and 1 Guest are viewing this topic.

oneray

This is the script I used for my intro (rayworks presents...)

#-------------------Logo Script by Adrianmati---------
#---------Music feature added by Hypershadow180-----
#------------------------------------------------------------
#---------Fade Ver. 2 pictures edit by Takrena-----
a=0


logo = Sprite.new
logo.bitmap = Bitmap.new("Graphics/Pictures/rayworks logo")
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 #First picture timer starting in 0

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/presents")
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 #second picture timer starting in 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

Can you tell me how I can get the second picture to stay longer and how to add music for the intro.
Also can you give me a script for overdrives or limits.
Thxs.