Peru Posted August 22, 2011 Share Posted August 22, 2011 (edited) Nome script: Pre-Title scene Autore: Vlue L. Maynara Funzione:Permette di far comparire un massimo di 3 immagini con sfondo musicale compreso prima del titolo Script: #--------- Pretitle script ------------------------------------------# # - A script to display up to three images before the title menu # # - Configurable! Woot! # # ###Read this before using### # # - Pictures to be displayed must be placed in the \Graphics\System # # folder # # - Audio files to be played must be placed in the \Audio\BGM folder # # - Must change "$scene = Scene_Title.new" under Main to # # "$scene = Scene_Pretitle.new" # # - To call script (why? o.0) use "$scene = Scene_Pretitle.new" # # # # Disclaimer? Give credit where credit is due # #-------------------------Script written by: Vlue L. Maynara---------# class Scene_Pretitle < Scene_Base ###Config### ###Failure to comply with rules will result in script failure### #Skip pretitles? PRETITLE_SKIP = false #Fadein (frames) PRETITLE_TRANSITION = 20 #How long to display (frames) PRETITLE_WAIT = 40 #Fadeout (frames) PRETITLE_FADEOUT = 60 #Music to be played, nil in none (Filename must be in quotes, ex. "Scene1") PRETITLE_MUSIC = "Scene1" #Volume of Music (%) PRETITLE_VOLUME = 100 #Pitch of Music (50-150) PRETITLE_PITCH = 100 #First file to load, nil if none (Filename must be in quotes, ex. "Gameover") PRETITLE_FILE = "Gameover" #Second file to load, nil if none (Filename must be in quotes, ex. "Balloon") PRETITLE_FILE2 = nil #Third file to load, nil if none (Filename must be in quotes, ex. "Title") PRETITLE_FILE3 = nil ###End Config### #Script start# def main if $BTEST # If battle test $scene = Scene_Title.new # Start battle test else # If normal play super # Usual main processing end end def start if PRETITLE_SKIP $scene = Scene_Title.new elsif create_pretitle_1 end end def create_pretitle_1 if PRETITLE_FILE != nil if PRETITLE_MUSIC != nil Audio.bgm_play("Audio/BGM/" + PRETITLE_MUSIC, PRETITLE_VOLUME, PRETITLE_PITCH) end @sprite1 = Sprite.new @sprite1.bitmap = Cache.system(PRETITLE_FILE) Graphics.transition(PRETITLE_TRANSITION) Graphics.wait(PRETITLE_WAIT) Graphics.fadeout(PRETITLE_FADEOUT) @sprite1.bitmap.dispose @sprite1.dispose create_pretitle_2 elsif create_pretitle_2 end end def create_pretitle_2 if PRETITLE_FILE2 != nil @sprite1 = Sprite.new @sprite1.bitmap = Cache.system(PRETITLE_FILE2) Graphics.fadein(PRETITLE_TRANSITION) Graphics.wait(PRETITLE_WAIT) Graphics.fadeout(PRETITLE_FADEOUT) @sprite1.bitmap.dispose @sprite1.dispose create_pretitle_3 elsif create_pretitle_3 end end def create_pretitle_3 if PRETITLE_FILE3 != nil @sprite1 = Sprite.new @sprite1.bitmap = Cache.system(PRETITLE_FILE3) Graphics.fadein(PRETITLE_TRANSITION) Graphics.wait(PRETITLE_WAIT) Graphics.fadeout(PRETITLE_FADEOUT) @sprite1.bitmap.dispose @sprite1.dispose $scene = Scene_Title.new elsif $scene = Scene_Title.new end end end #End Script# istruzioni per l'uso:inserite lo script tra materials e mainle immagini che volete far apparire devono essere nella cartella graphic/system,la musica in music/BGMper selezionare le immagini da visualizzare,scrivere il loro nome negli appositi spazi nello script,idem per la musica per attivare il pre-title andate su Main e sostituite la stringa $scene = Scene_Title.new con questa $scene = Scene_Pretitle.new bugs e conflitti:N/A,utilizzabile anche con i title animati Edited August 22, 2011 by Peru WELCOME TO THE DARK SIDE e così ricopro la mia nuda perfidia con espressione a me estranea rubata ai sacri testi e sembro un santo quando faccio la parte del diavolo.[V per Vendetta]http://www.lusogamer.com/live/teknoplayer_v1_red/gamercard_default/obsidiam.png Link to comment Share on other sites More sharing options...
Exagon Posted August 23, 2011 Share Posted August 23, 2011 bello, credo che verrà usato sul mio progetto per inserire i copyright iniziali xD! LA MIA FIRMA!!! IO HO ADOTTATO...http://img233.imageshack.us/img233/7449/sorajm1.gif http://img248.imageshack.us/img248/9049/painbm1.gif http://img248.imageshack.us/img248/3647/tobids0.gif http://img212.imageshack.us/img212/1453/narutofe1.gif MY GAME!!! Nome:Exagon - The Medallion Descrizione:Guida Markus, un orfanello, nel regno di Esate, e scopri il segreto che si cela dietro il suo medaglione esagonale, unico ricordo della defunta madre! Tool:RPG Maker VX LOLLATE IN CHAT!!! *** mib_reaper è entrato su #rpg2s<DarkNight[settembre]>: Mumu mib_reaper, mumukkimumu<Ape_Maia>: salve! miele?*** mib_reaper esce (Quit: http://www.mibbit.com ajax IRC Client)<Ape_Maia>: se non vuoi miele basta dirlo... e ora... ARRIVA CATTIVONE!!! http://img197.imageshack.us/img197/2610/cattivonecreator.pnghttp://img832.imageshack.us/img832/9093/cattivonefan.png "EXAGOOOOOOON!!!"Tratto da "Exagon - The Medallion" Link to comment Share on other sites More sharing options...
JillChelsea Posted August 23, 2011 Share Posted August 23, 2011 (edited) Carino, avevo trovato anche un altro script per gli splash screens, ma credo che sia identico XDIn ogni caso, si possono facilmente aggiungere altre immagini, facendo solo qualche piccolo edit Edited August 23, 2011 by JillChelsea <SeraphAndrew>: identificati <SeraphAndrew>: o ti alito in facciaLista degli attuali zii: SeraphAndrew Macha Shuraen ZioSam Aretè<JillChelsea>: Lusianl è LOL <SeraphAndrew>: LoLusianlol<SeraphAndrew>: E HO UN NASO CHE TI IMPALO <SeraphAndrew>: VA BENE? <SeraphAndrew>: è_éShuraen abbraccia la sua nipotina SeraphAndrew abbraccia shu che abbraccia la nipotina <SeraphAndrew>: siamo una fottuta matrioska!<Annoy>: JILLA <Annoy>: Ma a te non piacevano i gatti? <Annoy>: D: <BlackPanther>: Si =3 <Annoy>: Hai fatto LEVEL UP e sei passata alle pantere? <BlackPanther>: LOL Link to comment Share on other sites More sharing options...
Freddo Posted August 24, 2011 Share Posted August 24, 2011 Bellissimo script! Adesso i giochi creati con VX sembreranno proprio giochi del Game Boy xD Progetto in corso: L'Isola Link to comment Share on other sites More sharing options...
Melosx Posted August 25, 2011 Share Posted August 25, 2011 Solo tre immagini??? Allora è meglio lo Scene Intro Reloaded... Puoi inserire quante immagini vuoi... http://i.imgur.com/ROhv4te.png Link to comment Share on other sites More sharing options...
JillChelsea Posted August 25, 2011 Share Posted August 25, 2011 (edited) In realtà se ne possono aggiungere altre facendo dei piccoli edit XD Basta che aggiungi una linea di codice come questa: PRETITLE_FILE[Numero] = "Nomefile" Nella parte config, facendo gli opportuni cambiamenti. Mentre poi bisogna aggiungere questa parte di script: def create_pretitle_[Numero] if PRETITLE_FILE[Numerodiprima] != nil @sprite1 = Sprite.new @sprite1.bitmap = Cache.system(PRETITLE_FILE[Numerodiprima]) Graphics.fadein(PRETITLE_TRANSITION) Graphics.wait(PRETITLE_WAIT) Graphics.fadeout(PRETITLE_FADEOUT) @sprite1.bitmap.dispose @sprite1.dispose create_pretitle_[Numero] elsif create_pretitle_[Numero] end end E ovviamente modificare dove bisogna modificare ^^(La parte [Numero] va cambiata completamente, senza lasciare le parentesi quadre.) Es. PRETITLE_FILE4 = "Title" def create_pretitle_4 if PRETITLE_FILE4 != nil @sprite1 = Sprite.new @sprite1.bitmap = Cache.system(PRETITLE_FILE4) Graphics.fadein(PRETITLE_TRANSITION) Graphics.wait(PRETITLE_WAIT) Graphics.fadeout(PRETITLE_FADEOUT) @sprite1.bitmap.dispose @sprite1.dispose create_pretitle_5 elsif create_pretitle_5 end end (O almeno credo XD) Edited August 25, 2011 by JillChelsea <SeraphAndrew>: identificati <SeraphAndrew>: o ti alito in facciaLista degli attuali zii: SeraphAndrew Macha Shuraen ZioSam Aretè<JillChelsea>: Lusianl è LOL <SeraphAndrew>: LoLusianlol<SeraphAndrew>: E HO UN NASO CHE TI IMPALO <SeraphAndrew>: VA BENE? <SeraphAndrew>: è_éShuraen abbraccia la sua nipotina SeraphAndrew abbraccia shu che abbraccia la nipotina <SeraphAndrew>: siamo una fottuta matrioska!<Annoy>: JILLA <Annoy>: Ma a te non piacevano i gatti? <Annoy>: D: <BlackPanther>: Si =3 <Annoy>: Hai fatto LEVEL UP e sei passata alle pantere? <BlackPanther>: LOL Link to comment Share on other sites More sharing options...
Valentino Posted August 25, 2011 Share Posted August 25, 2011 Mi sono permesso di modificare lo script per renderlo utilizzabile per un numero illimitato di picture!Per usarlo bisogna andare in PRETITLE_FILE e inserire in ordine tra le parentesi quadre i nomi delle picture. Ecco qua: #--------- Pretitle script ------------------------------------------# # - A script to display up to three images before the title menu # # - Configurable! Woot! # # ###Read this before using### # # - Pictures to be displayed must be placed in the \Graphics\System # # folder # # - Audio files to be played must be placed in the \Audio\BGM folder # # - Must change "$scene = Scene_Title.new" under Main to # # "$scene = Scene_Pretitle.new" # # - To call script (why? o.0) use "$scene = Scene_Pretitle.new" # # # # Disclaimer? Give credit where credit is due # Edited By Avon Valentino #-------------------------Script written by: Vlue L. Maynara---------# class Scene_Pretitle < Scene_Base ###Config### ###Failure to comply with rules will result in script failure### #Skip pretitles? PRETITLE_SKIP = false #Fadein (frames) PRETITLE_TRANSITION = 20 #How long to display (frames) PRETITLE_WAIT = 40 #Fadeout (frames) PRETITLE_FADEOUT = 60 #Music to be played, nil in none (Filename must be in quotes, ex. "Scene1") PRETITLE_MUSIC = "Scene1" #Volume of Music (%) PRETITLE_VOLUME = 100 #Pitch of Music (50-150) PRETITLE_PITCH = 100 #List of file to load in order PRETITLE_FILE = ["Save","Window"] ###End Config### #Script start# def main if $BTEST # If battle test $scene = Scene_Title.new # Start battle test else # If normal play super # Usual main processing end end def update if PRETITLE_SKIP $scene = Scene_Title.new else if PRETITLE_MUSIC != nil Audio.bgm_play("Audio/BGM/" + PRETITLE_MUSIC, PRETITLE_VOLUME, PRETITLE_PITCH) end Graphics.fadeout(0) for i in PRETITLE_FILE create_pretitle(i) end $scene = Scene_Title.new end end def create_pretitle(imm) if imm != nil @sprite = Sprite.new @sprite.bitmap = Cache.system(imm) Graphics.fadein(PRETITLE_FADEOUT) Graphics.transition(PRETITLE_TRANSITION) Graphics.wait(PRETITLE_WAIT) Graphics.fadeout(PRETITLE_FADEOUT) @sprite.bitmap.dispose @sprite.dispose @sprite = nil end end end #End Script# Targhette Rpg2s:http://img14.imageshack.us/img14/5421/contestsecondo.png Partecipante al Rpg2s.net Game Contest #3http://www.rpg2s.net/images/gc3/gc3_firma.pngGioco in Sviluppo: DREAMS http://img16.imageshack.us/img16/2121/dreamstitle2.png SKY's CRY!http://www.rpg2s.net...showtopic=12557 Lista di script creati da me: Support System FF9 Multiscope System Advanced Armor System Protection System Trance System FF2 Development System Scene Vittoria Animato Aperion System Elemosina System Valentino's Scene Shop Item Plus System Panorama Acceleration System Conversione da VX a XP, Vehicle System Sentinel System Scene Zoolab Valentino's Random System Oggetti Riutilizzabili Break Pictures Limit Gameover Animato Valentino's Gun Mode Valentino's Ally System Link to comment Share on other sites More sharing options...
Melosx Posted August 25, 2011 Share Posted August 25, 2011 Be lo scene intro e simile ma più facile...Imposti il nome esempio intro nello script e nella cartella system (se nn erro cartella) metti le immagini intro1 intro2 intro3 intro4 intro5 intro6 eccecc e stop... Senza modificare lo script... Cmq ora che è modificato no problem... http://i.imgur.com/ROhv4te.png Link to comment Share on other sites More sharing options...
giver Posted August 25, 2011 Share Posted August 25, 2011 Ma meglio ancora lo Skip_Title di Woratana: al costo di una Mappa ci puoi buttare dentro tutto ciò che vuoi . . . SCRIPT RGSS (RPG Maker XP) VINTAGE LIBRARY [2018+]http://www.rpg2s.net/forum/index.php/topic/21892-vintagevisualsrewrite-enhanced-revised-victory-screen-v-35-da-autori-vari-a-giver/ http://www.rpg2s.net/forum/index.php/topic/21868-eventing-utility-simple-last-battle-events-fix-v-30-by-giver/ http://www.rpg2s.net/forum/index.php/topic/21853-vintagerewrite-constance-menu-per-4-personaggi-da-team-constance-a-giver/ http://www.rpg2s.net/forum/index.php/topic/22126-vintagedoveroso-necroedit-dummy-title-22u-update-per-crearlo-ad-eventi-su-mappa-by-giver/ http://www.rpg2s.net/forum/index.php/topic/22127-vintagevisuals-tale-chapters-save-system-20-by-giver/ Breaking (in ogni senso) News: "Treno deraglia per via del seno di Sakurai Aoi . . ." - Info nello spoiler !! http://afantasymachine.altervista.org/_altervista_ht/NOOOOOOOOOilMIOtreninooooo_500.gifNon riesco a smettere di essere affascinato da immagini come questa . . .http://anime.vl-vostok.ru/art/photos2011/17/78049800/wall_VladAnime_WWA_1885-1680x1050.jpgAlcuni wallpapers che faccio ruotare sul mio vecchio PC . . .http://afantasymachine.altervista.org/_altervista_ht/gits_window.jpghttp://afantasymachine.altervista.org/_altervista_ht/madoka_group01.jpghttp://afantasymachine.altervista.org/_altervista_ht/arisu_picipici_01.jpghttp://afantasymachine.altervista.org/_altervista_ht/phantom_wp01_einzwei.jpg La parte più spassosa della mia vita è quando gli altri cercano di spiegarmi i miei pensieri . . . BBCode TestingTypeface & Size Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now