Cerca nel Forum
Showing results for tags 'Cambiare Windowskin'.
Trovato 1 risultato
-
Nome Script: Cambiare Windowskin Versione: 1.0 Autore/i: Woratana Informazioni: Con un semplice call script,potrete cambiare la vostra windowskin Istruzioni: Inserite lo script sotto a Material. Poi per cambiare la window,questo è il call script da inserire: $game_system.skin = 'Nome_WindowSkin'Assicuratevi di avere le altre window in 'Graphics/System'. Script: #=============================================================== # ● [VX Snippet] ◦ Change Windowskin ◦ □ #-------------------------------------------------------------- # ◦ by Woratana [[email protected]] # ◦ Released on: 10/03/2008 #-------------------------------------------------------------- # Note: Missing features from RM2K and RMXP =begin ●----●----●----●----● +[How to use]+ ●----●----●----●----● Call script: $game_system.skin = 'Windowskin File Name' (Window Skin file must be in folder 'Graphics/System') For Example >> $game_system.skin = 'Window' □=====□=====□=====□=====□=====□=====□=====□=====□=====□ =end #=============================================================== class Window_Base < Window alias wor_changeskin_winbase_ini initialize alias wor_changeskin_winbase_upd update # Change Window Skin when first call Window def initialize(x, y, width, height) wor_changeskin_winbase_ini(x, y, width, height) self.windowskin = Cache.system($game_system.skin) @winskin = $game_system.skin end # Change Window Skin if $game_system.skin is not same as its skin def update wor_changeskin_winbase_upd if @winskin != $game_system.skin self.windowskin = Cache.system($game_system.skin) @winskin = $game_system.skin end end end class Game_System attr_accessor :skin alias wor_changeskin_gamesys_ini initialize # Add variable $game_system.skin to store/change windowskin file name def initialize wor_changeskin_gamesys_ini @skin = 'Window' end end