RPGVX.net

  RPG-Maker VX => VX Skripte [Fertiger Code] => Thema gestartet von: woratana am Februar 08, 2008, 06:03:45

Titel: +Random Title Screen+
Beitrag von: woratana am Februar 08, 2008, 06:03:45
Random Title Screen
Version 1.0
by Woratana
Release Date: 07/02/2008


Hi! New script again  :lol:
This one is pretty simple and (I hope it will...) useful :)

*edit:
Could someone help me delete topic's description please?
Thanks!


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


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


Script
Place it above main.
#======================================================================
========
# ¦ [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)
  end
end


Instruction
You can set the pictures that will be in random list for title screen at this line:
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,
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.
Titel: +Random Title Screen+
Beitrag von: ERZENGEL am Februar 08, 2008, 06:35:32
That's a nice script and a side effect too. But it's like your other script not my thing *g* I'm sorry. But I'm sure many peoples will use it in their projects and thx you are publishing your scripts here ^^
Titel: +Random Title Screen+
Beitrag von: Baur am Februar 08, 2008, 09:18:11
Well I think, you and DeadlyDan should combine your Scripts, handling the Title-Screen to a single one. So both good standalone-Scripts will be combined to a better general one.

I mean your Random script and Deadly's Title-Pic-Menu-Script.

I mean this one done by DeadlyDan (http://forum.rpgvx.net/index.php?showtopic=242)

But thanks for your efforts at first.
Titel: +Random Title Screen+
Beitrag von: Goldenboss am Februar 08, 2008, 11:18:36
Hi,

i agree to Baurs' opinion. That would be really great.

But i still like your idea, wortana and i'll think about using it.

Greetings, Markus
Titel: +Random Title Screen+
Beitrag von: Dainreth am Februar 08, 2008, 11:27:09
Random things..I don't like them too much but the script is nice. For my title I use your "Skip Title" so I've more possibilities. Anyhow, this script is also great, thanks for your work!
Titel: +Random Title Screen+
Beitrag von: woratana am Februar 08, 2008, 14:43:29
@Baur
You can just place this script below Deadlydan's script in Script Editor. My method to draw title screen will replace his. :)

I think that should work :lol:
SimplePortal 2.3.3 © 2008-2010, SimplePortal