Hi, I would like to put a panorama behind my transparent title screen. Is there a script or way to do that?
[Request] Panorama Title Screen
Started by JengaSoft, Jan 06 2012 12:56 PM
panorama title screen script
1 reply to this topic
#1
Posted 06 January 2012 - 12:56 PM
#2
Posted 06 January 2012 - 03:10 PM
This is quite simple, actually. Edit the Scene_Title script, Search for @sprite = Sprite.new, and right before that line, add the following:
Replace filename with the name of the panorama you'd like to display. If you want it to scroll, add the following to Scene_Title's update method:
Change the values according to the desired effect. Finally, don't forget to remove the panorama once the scene changes. To do this, search for @sprite.dispose, and right after, add the following:
This should do the trick.
@panorama = Plane.new @panorama.bitmap = Cache.panorama(filename)
Replace filename with the name of the panorama you'd like to display. If you want it to scroll, add the following to Scene_Title's update method:
@panorama.ox += 1 # Horizontal scroll @panorama.oy += 1 # Vertical scroll
Change the values according to the desired effect. Finally, don't forget to remove the panorama once the scene changes. To do this, search for @sprite.dispose, and right after, add the following:
@panorama.dipose
This should do the trick.
Edited by Moonpearl, 06 January 2012 - 03:11 PM.
0 user(s) are reading this topic
members, guests, anonymous users











