Cerca nel Forum
Showing results for tags 'Picture Bug Fix'.
Trovato 1 risultato
-
Nome Script: Picture Bug Fix Versione: Fix Bug Autore/i: Raizen884, Johnbolton, Gab! Informazioni: Quando una picture viene cancellata, gli script di rmvxace, mantengono un leggero ritardo di eliminazione di queste. La cosa non è percepibile con poche immagini, ma se ne usate ad esempio una decina, la cosa si noterà con freeze e lag. Per questo è stato creato questo piccolisismo script che fixerà questo piccolo (ma a quanto pare fastidioso), bug ^^ Pinno il topic per lasciarlo in evidenza Istruzioni: Inserite lo script sotto Material. Script: #=======================================================# Picture Bug Fix# Author : Raizen884# Creditss : JohnBolton, Gab!# The script will correct a fatal bug caused by image deleting,# the more images deleted caused a constant freeze and lag# to the game.#=======================================================# It is better for this script to go over every new script added# to the scripts, and below all the original RMVXA scripts#=======================================================class Sprite_Picture < Sprite def update super if @picture.name != "" update_bitmap update_origin update_position update_zoom update_other else self.bitmap.dispose if self.bitmap != nil end endend