Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Munkis' Animated Title Background...
munkis
post Jan 6 2011, 09:55 AM
Post #1


Woah, dude...
Group Icon

Group: Revolutionary
Posts: 197
Type: Writer
RM Skill: Intermediate




Munkis' Animated Title

Version: 1.1
Author: munkis
Release Date: 01/06/2011


Exclusive Script at RPG RPG Revolution


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


__________________________
Go to the top of the page
 
+Quote Post
   
archeart
post Jan 6 2011, 01:05 PM
Post #2


Level 8
Group Icon

Group: Revolutionary
Posts: 118
Type: Developer
RM Skill: Intermediate




Hmm will absolutely use this script though would have been a blast if it was compatible with XP as well biggrin.gif


__________________________

Go to the top of the page
 
+Quote Post
   
XerX
post Jan 6 2011, 10:18 PM
Post #3


Team Mercury Leader
Group Icon

Group: Revolutionary
Posts: 108
Type: Artist
RM Skill: Intermediate




This looks absolutely fantastic. I'll try it out tomorrow.


__________________________
-NOW UNDER A RELIABLE HOST!

Go to the top of the page
 
+Quote Post
   
dartdaman
post Jan 11 2011, 06:21 PM
Post #4


Level 6
Group Icon

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
Go to the top of the page
 
+Quote Post
   
munkis
post Jan 12 2011, 05:52 PM
Post #5


Woah, dude...
Group Icon

Group: Revolutionary
Posts: 197
Type: Writer
RM Skill: Intermediate




The first 'W' is supposed to be capitalized.

This post has been edited by munkis: Jan 12 2011, 05:52 PM


__________________________
Go to the top of the page
 
+Quote Post
   
Jordarian
post Apr 25 2011, 01:47 AM
Post #6



Group Icon

Group: Member
Posts: 1
Type: None
RM Skill: Beginner




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 smile.gif
-Jordarian
teehee.gif


EDIT : I just figured it out LOL !
Thanks for the script smile.gif
Stay classy.
-Jordarian

This post has been edited by Jordarian: Apr 25 2011, 01:54 AM
Go to the top of the page
 
+Quote Post
   
Rueik
post Oct 2 2011, 05:13 PM
Post #7



Group Icon

Group: Member
Posts: 1
Type: Event Designer
RM Skill: Skilled




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:
CODE
@cache[path] = Bitmap.new(path)


the message says:
CODE
????? 'Cache' ? 80 ??? RGSSError ????????
failed to create bitmap


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.
Go to the top of the page
 
+Quote Post
   
munkis
post Oct 7 2011, 04:24 AM
Post #8


Woah, dude...
Group Icon

Group: Revolutionary
Posts: 197
Type: Writer
RM Skill: Intermediate




That's... odd. I have no idea why it's doing that; there shouldn't be any compatibility issues...?


__________________________
Go to the top of the page
 
+Quote Post
   
Night5h4d3
post Oct 7 2011, 05:33 AM
Post #9


The past tense
Group Icon

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
My growing space of user-bars:

about me:







I made the following!





Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 18th May 2013 - 09:38 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker