Cerca nel Forum
Showing results for tags 'Debug velocità'.
Trovato 1 risultato
-
Nome Script: Debug velocità Versione: N/D Autore/i: Gammastar Informazioni: Velocizza la battaglia con il tasto F6. Istruzioni: Inserite lo script sotto Material Script: #By: Gammastar. #Debug speeder. Boosts the frame rate when you press the F6 key. #Press F6 again to return to normal. #This is much more effective if you dash while using it. #No need to give me credit, since this is only usable in debug mode. #Set variable to false. $using = false class Scene_Map #Alias the update method in Scene_Map. alias gammastar_speedupdate update #By aliasing, I add to the method instead of actually defining it. def update #Refer to alias (can't work without this) gammastar_speedupdate #Check to see if in debug and if F6 is pressed. if $TEST and Input.trigger?(Input::F6) #Check to see if you are using the speeder. if $using == false Graphics.frame_rate = 120 Sound.play_decision $using = true else Graphics.frame_rate = 60 Sound.play_cancel $using = false end end end end #Essentially the same as above. class Scene_Battle alias gammastar_speedupdate_b update def update gammastar_speedupdate_b if $TEST and Input.trigger?(Input::F6) if $using == false Graphics.frame_rate = 120 Sound.play_decision $using = true else Graphics.frame_rate = 60 Sound.play_cancel $using = false end end end end