[VX] +Random Title Script+

0 Members and 1 Guest are viewing this topic.

Level 86
Random Title Screen
Version 1.0
by Woratana
Release Date: 07/02/2008

This script will random your tile screen.
To make player not get bored every time they start game. :)

Version 1.0
- Random title screen from pictures as much as you want

Place it above main.
Code: [Select]
# ? [RMVX] +Random Title Screen+
# Version 1.0
# by Woratana [woratana@hotmail.com]
# Release Date: 07/02/2008
# This scrip will random title screen
# You can set title screen pictures to be random at line:
# Title = ["filename","filename2","filename3",...]
# title screen picture must be in folder "System"
# For example, Title = ["Screenfire","Title1"]
# >> Title Screen will random between pictures "Screenfire" and "Title1".
class Scene_Title < Scene_Base
  Title = Array.new
  # Set Title Screen Pictures for random here!
  Title = ["Title","Title10","Title25","Title50","Title80"]
  def create_title_graphic
    @sprite = Sprite.new
    title_random = rand(Title.size)
    @sprite.bitmap = Cache.system(Title[title_random].to_s)

You can set the pictures that will be in random list for title screen at this line:
Code: [Select]
Title = ["filename","filename2","filename3",...]
put your file's name in double quote "filename", and seperate pictures with ,
The file name don't need file type (e.g. .jpg,.png), and must be in folder "System"

For Example,
Code: [Select]
Title = ["ice","water","fire","earth"]
The title screen will random between the files "ice" or "water" or "fire" or "earth".

You can add pictures to be random as much as you want :lol:

Author's Notes
Free for use in your non-commercial work if credit included. If your project is commercial, please contact me.

Please do not redistribute this script without permission. If you want to post it on any forum, please link to this topic.
« Last Edit: February 08, 2008, 10:04:08 PM by Zeriab »

Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Best RPG Maker User (Scripting)2010 Most Mature Member
Looks good. I made a comment on it at another forum so no need to do it here. In any case, good work.

? ? ? ? ? ? ? ? ? The nice kind of alien~
Level 92
Martian - Occasionally kind
I edited your post and fixed an error in the script due to the forum breaking up a line at a bad position efficiently breaking the script. I hope you don't mind.

Thanks for posting your sweet little script here ^_^

 - Zeriab

Level 86
Thanks a lot for suggest! :)

That's fine.

Thanks, Zeriab.  ;)