Dudu' Hamstérophile


Nombre de messages: 2060 Age: 21 Capacités: bon Distinction: Apprenti KGB-boy en avenir
[Coco' ]
Hamsterphile de service ^^
[Balby' le Fake]
Grand prof de la MA
[Skillo]
Ce grand programmateur, mon coeur, ma vie ! [Hamu'] Date d'inscription: 22/06/2009
 | Sujet: Random title by Adurna Mar 29 Juin 2010 - 10:11 | |
| Autor: Adurna Date: 30/08/2009 Autor's note: This script is my first script, it allows multiple screen title, the title screen will appear randomly. | Code: | #--------------------------------------------------------------------------------------------------------- # by adurna # realise: 30.08.2009 #This script is my first script, it allows multiple screen title, the title screen will appear randomly. #-----------------------------------------------------------------------------------------------------------------
class Scene_Title < Scene_Base #in the line below if you have indicated the name of your title screen TITLE=["title1","title2","title3"] def create_title_graphic @sprite = Sprite.new size_title=TITLE.size @sprite.bitmap = Cache.system(TITLE[rand(size_title)]) end end |
|
|