New account registration is temporarily disabled.

[RGSS3] [RMVX ACE] SCREEN SHAKE BUG FIX

Posts

Pages: 1
I'm unsure if this bug has already been fixed by another script, but I couldn't find one and this was causing me issues so here it is anyway.

The "Shake Screen" event command has a bug which causes it to wait for a strange amount of time. The devs appear to have forgotten there are two parameters in the shake screen command - power and speed.

Here is the broken code:
#--------------------------------------------------------------------------
# * Screen Shake
#--------------------------------------------------------------------------
def command_225
  screen.start_shake(@params[0], @params[1], @params[2])
  wait(@params[1]) if @params[2]
end

Fix (place under Materials):
class Game_Interpreter
  #--------------------------------------------------------------------------
  # * Screen Shake
  #--------------------------------------------------------------------------
  def command_225
    screen.start_shake(@params[0], @params[1], @params[2])
    wait(@params[2]) if @params[3]
  end
end
Marrend
Guardian of the Description Thread
21806
Would you happen to know which version of Ace has this error? I re-download Ace after switching computers in May of this year, and that has the lower code.

*Edit: As a point of reference, the "Help"->"About" window reports that I have version 1.02a of Ace.
author=Marrend
Would you happen to know which version of Ace has this error? I re-download Ace after switching computers in May of this year, and that has the lower code.

*Edit: As a point of reference, the "Help"->"About" window reports that I have version 1.02a of Ace.

I also have version 1.02a, but I have the Steam version so it's possible they're not the same.
I created a new default project and I still get the broken code.
Marrend
Guardian of the Description Thread
21806
The Steam version has this bug and the stand-alone version does not? That's... kinda odd.
Pages: 1