Belxebu Posted April 20, 2008 Share Posted April 20, 2008 Multiple Frame TitleDescrizioneUno script per XP che grazie alla Total Conversion funge anche su VX,questo script permette di avere un menu principale con immagini a rotazione. AutoreThe Sleeping Leonhart Istruzioni per l'usoInserite lo script SOTTO la Total Conversion,mettete in Pictures le immagini che dovranno roteare chiamandole title1,title2,title3 e cosi via.Le immagini devono essere 544x416 di grandezza #=============================================================================== # Multiple Frame Title # by The Sleeping Leonhart #=============================================================================== class Scene_Title alias tsl_scene_title_main main def main #==========================CONFIGURAZIONE========================== @frame_number = 2 #Numero di frame @title_name = "title" #Nome della picture @wait = 300 #Tempo di attesa fra una picture e l'altra #================================================================= @frame = 2 @wait_count = 1 tsl_scene_title_main end alias tsl_scene_title_update update def update if @wait_count < @wait @wait_count += 1 if @wait_count == @wait if @frame < @frame_number+1 @sprite.bitmap.dispose @sprite.dispose @sprite = Sprite.new @sprite.bitmap = Cache.picture(@title_name+@frame.to_s) @wait_count = 1 if @frame == @frame_number @frame = 0 end end @frame += 1 end end tsl_scene_title_update end end 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