Introduction An animated title screen script that is pretty simple to use.
Features Has a bi-layered animated background and a logo window.
Script
Munkis' Animated Title
CODE
#------------------------------------------------------------------------------ # * Munkis' Animated Title Screen V 1.1 # * Made by munkis # ╔══════════╗ # ║ FEATURES ║ # ╚══════════╝ # * Adds an animated bi-layered background to the Title Screen. It started # out as an add-on for my Animated Menuback script, but I felt it would be a # better idea to make it a seperate script in case the user would rather use # a different custom title screen script. # * Uses aliases, so any scripts that add commands to the title menu should be # compatible. # * V 1.0: Initial release # * V 1.1: Added logo window. #------------------------------------------------------------------------------
module MNK_Animated_Title
#[Background picture name, Foreground picture name, Background animation #speed (X direction), Background animation speed (Y direction), Foreground #animation speed (X direction), Foreground animation (Y direction), window #opacity, Logo picture name, Logo picture X position, Logo picture Y position] #Set the animation speeds to negative values to make them go in reverse. #Use "" for no picture. ANIMATION_PROPERTIES = ["Background","Foreground",0,0,0,-1,0,"Menu_Title",-20,0]
end
class Logo_Window < Window_Base def initialize super(0,0,544,416) self.z = 1 self.opacity = 0 bitmap = Cache.picture(MNK_Animated_Title::ANIMATION_PROPERTIES[7]) rect = Rect.new(0, 0, 0, 0) rect.x = MNK_Animated_Title::ANIMATION_PROPERTIES[8] rect.y = MNK_Animated_Title::ANIMATION_PROPERTIES[9] rect.width = 544 rect.height = 416 self.contents.blt(x, y, bitmap, rect) bitmap.dispose end end class Scene_Title < Scene_Base alias munkis_title_start start def start munkis_title_start @logowindow = Logo_window.new @title_back = Plane.new @title_back.bitmap = Cache.picture(MNK_Animated_Title::ANIMATION_PROPERTIES[0]) @title_fore = Plane.new @title_fore.bitmap = Cache.picture(MNK_Animated_Title::ANIMATION_PROPERTIES[1]) end alias munkis_title_terminate terminate def terminate munkis_title_terminate @logowindow.dispose @title_back.dispose @title_fore.dispose end alias munkis_title_update update def update munkis_title_update @title_back.ox += MNK_Animated_Title::ANIMATION_PROPERTIES[2] @title_back.oy += MNK_Animated_Title::ANIMATION_PROPERTIES[3] @title_fore.ox += MNK_Animated_Title::ANIMATION_PROPERTIES[4] @title_fore.oy += MNK_Animated_Title::ANIMATION_PROPERTIES[5] end alias munkis_command_window create_command_window def create_command_window munkis_command_window @command_window.opacity = MNK_Animated_Title::ANIMATION_PROPERTIES[6] end end
Required Images
You can either use these in your project, or as a placeholder until you get someone to make what you want.
Images
Customization The one array in the config module should be easy enough to understand.
Compatibility Uses aliases, so any other scripts that mess with Scene_Title should be compatible.
Screenshot You need to put it in a project to see it in action.
DEMO Pretty simple to use, so one isn't necessary. Besides, the images are in this post.
Installation Place in MATERIALS, above MAIN.
FAQ Q: ZOMG teh scripz doesn't werk!!! A: First of all, be more specific, Second, all reports typed in chat-speak or 1337-speak will be ignored.
Terms and Conditions I don't mind if this script is posted or linked on other RMVX sites AS LONG AS YOU GIVE CREDIT!!! Same goes for using this in your project. Contact me if you want to use this in a commercial project.
Credits Credit me (munkis) for the script. If you know who made the images, please let me know so I can give proper credit here.
archeart
Jan 6 2011, 01:05 PM
Hmm will absolutely use this script though would have been a blast if it was compatible with XP as well
XerX
Jan 6 2011, 10:18 PM
This looks absolutely fantastic. I'll try it out tomorrow.
dartdaman
Jan 11 2011, 06:21 PM
can someone please help i cant get this script to work when i go to playtest it comes up an error message saying Script 'Animated Title Screen' line 48: Name Error occured. uninitalized constant Scene_Title::Logo_window
munkis
Jan 12 2011, 05:52 PM
The first 'W' is supposed to be capitalized.
Jordarian
Apr 25 2011, 01:47 AM
QUOTE (munkis @ Jan 12 2011, 06:52 PM)
The first 'W' is supposed to be capitalized.
Could you please copy and paste the section that needs to be changed ? because im getting the same error . Thanks -Jordarian
EDIT : I just figured it out LOL ! Thanks for the script Stay classy. -Jordarian
Rueik
Oct 2 2011, 05:13 PM
When I use this and re-do all my own artwork for the background, forground and menu_title...I get this message about the "Cache" script? this line:
i don't understand it doesn't do this with the original Pictures, and all i did was overwrite them with my own artwork, so...what happened? Any help? I appreciate it greatly, thanks in advance to anyone who attempts to guide me in the correct direction.
munkis
Oct 7 2011, 04:24 AM
That's... odd. I have no idea why it's doing that; there shouldn't be any compatibility issues...?
Night5h4d3
Oct 7 2011, 05:33 AM
Two possible reasons I could think of would be either RMVX doesn't like the file format (try specifying .png or .jpg, occasionally I've noticed that my projects have given me problems with file extension). Or it could be that RMVX doesn't like the way you moved them there, as in, try using the import function; dunno, might work.
Other than that, no one can really say for sure without seeing the project.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.