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.
This post has been edited by munkis: Jan 19 2011, 12:38 PM
Group: Member
Posts: 77
Type: Developer
RM Skill: Skilled
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
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.
Group: +Gold Member
Posts: 1,199
Type: Scripter
RM Skill: Undisclosed
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.
__________________________
Got 30 minutes? Then you've enough time to play this awesome game: - potentially promising project page - thanks holder