Panoramic Title Screen
Version 1.0.2 (I guess)
Introduction
This is a quick and simple script add-on which adds a neat effect to the title screen of your game.
I know it's small, but it works.
I made it for my project and figured I should share it, someone might find it useful. :thumb:
Screenshots
Not really applicable... It's an animation, so a screenie would show but one frame. ':|
Script
Instructions
1. Place this in a new script that is below the defaults, but above main
2. Change the value where it is commented, if you want to change the speed
3. Add the following image in the Titles folder - and make it your title screen
If you wish to add another image, say... a logo for your game, static, add this script below it:
Edit the "YOUR_IMAGE_NAME_HERE" with your file name, keeping the ' ' around it.
Compatibility
> Will probably work with most Title edits, so long as they are based on the origional system
> Should be SDK compatible as I aliased
To make this work with the Three Image Title Screen:
Credits and Thanks
Credit me!!! - if you want to. (As Wyatt or Dan Badger, I don't mind which)
Version 1.0.2 (I guess)
Introduction
This is a quick and simple script add-on which adds a neat effect to the title screen of your game.
I know it's small, but it works.
I made it for my project and figured I should share it, someone might find it useful. :thumb:
Screenshots
Not really applicable... It's an animation, so a screenie would show but one frame. ':|
Script
Code:
#----------------------------------------------
# Panoramic Title Screen
#------ v 1.0.2
# Script by Wyatt (a.k.a Dan Badger)
# Do not remove this header!
#----------------------------------------------
class Scene_Title
alias wy_title_1_main update
def update
unless @sprite.x < -640
loop_sprite
else
@sprite.x = 0
end
wy_title_1_main
end
def loop_sprite
loop do
@sprite.x -= 2 # Change this figure to a WHOLE NUMBER to change the speed it scrolls
break if $scene != Scene_Title
end
end
end
Instructions
1. Place this in a new script that is below the defaults, but above main
2. Change the value where it is commented, if you want to change the speed
3. Add the following image in the Titles folder - and make it your title screen
http://afarrpg.freepgs.com/mov1.PNG[/IMG]
If you wish to add another image, say... a logo for your game, static, add this script below it:
Code:
class Scene_Title
alias wy_edit_1_main main
def main
@sprite2 = Sprite.new
@sprite2.bitmap = RPG::Cache.picture('YOUR_IMAGE_NAME_HERE') # Keep the ' '
@sprite2.z = 9998
wy_edit_1_main
@sprite2.dispose
end
alias wy_edit_1_update
def update
@sprite2.update
wy_edit_1_update
end
end
Edit the "YOUR_IMAGE_NAME_HERE" with your file name, keeping the ' ' around it.
Compatibility
> Will probably work with most Title edits, so long as they are based on the origional system
> Should be SDK compatible as I aliased
To make this work with the Three Image Title Screen:
To make it work with the 3 image TS script, (tried and tested), do this:
Use this script instead of my origional one,
Then go to line 38 of the TITS (er... Three Image Title Screen) and change that line to:
Use this script instead of my origional one,
Code:
class Scene_Title
alias wy_title_1_update update
alias wy_title_1_main main
def main
@sp = Sprite.new
@sp.bitmap = RPG::Cache.title('mov1')
@sp.z = 1
wy_title_1_main
@sp.dispose
end
def update
unless @sp.x < -640
loop_sprite
else
@sp.x = 0
end
wy_title_1_update
end
def loop_sprite
loop do
@sp.x -= 2
break if $scene != Scene_Title
end
end
end
Then go to line 38 of the TITS (er... Three Image Title Screen) and change that line to:
Code:
@back_sprite.z = 5000
Credits and Thanks
Credit me!!! - if you want to. (As Wyatt or Dan Badger, I don't mind which)