Djigital Aura
#12
I've tried your edited version but I keep getting lags.
Its a bit better now but only a little - it also has very slow performance. Like up 10 FPS while I normally have 40 FPS constantly.
It only happens if AURA_MODE is true 
if AURA_MODE is false, everything seems like normal.

The reason why I used aura_cancel is because of a bug.
When I hold the aura button and the aura_switch is set on at the same time, the aura is still seen until the switch is switched again which I didint want.
That bug happens with the code above.
EDIT:
I've tested your original aura script:
The lag issue only happens when  AURA_MODE    is set to  = true  
When AURA_MODE     = false everythign runs normal.
Is there anyway to fix it? I dont thing players want to play with solid 5 FPS. 



BTW: what do you say about changing the aura_cancel method into the same method used in mode one.
I mean changing aura_cancel to aura_delay_update.
Would it cause troubles?
EXAMPLE:
Quote:#--------------------------------------------------------------------------

  # * Aura System Mode Two : Constatn keypress the shows aura until released
  #--------------------------------------------------------------------------
  def aura_mode_two
    if $game_switches[Aura::AURA_SWITCH] == true then
      # Player cannot be moving
      return aura_delay_update if $game_player.moving?
      # Obtain keypress as local variable (works better as set variable)
      test = aura_toggle_key
      # If the current aura_key state doesn't match the keypress, we toggled
      if @current != test
        # Turn on or off the effect based on the new toggle state
        (test == true) ? aura_test : aura_delay_update
        # And reset the toggle aura key toggle state
        @current = test
      end
    end
  end
Reply }


Messages In This Thread
Djigital Aura - by DerVVulfman - 09-23-2016, 05:08 AM
RE: Djigital Aura - by Djigit - 09-24-2016, 12:17 AM
RE: Djigital Aura - by DerVVulfman - 09-24-2016, 03:05 AM
RE: Djigital Aura - by DerVVulfman - 09-25-2016, 09:32 PM
RE: Djigital Aura - by RASHIDA12 - 09-26-2016, 04:00 AM
RE: Djigital Aura - by DerVVulfman - 09-26-2016, 04:24 AM
RE: Djigital Aura - by RASHIDA12 - 09-26-2016, 04:35 AM
RE: Djigital Aura - by DerVVulfman - 09-26-2016, 04:51 AM
RE: Djigital Aura - by RASHIDA12 - 09-26-2016, 02:14 PM
RE: Djigital Aura - by RASHIDA12 - 10-07-2016, 01:50 AM
RE: Djigital Aura - by DerVVulfman - 10-07-2016, 04:05 AM
RE: Djigital Aura - by RASHIDA12 - 10-07-2016, 12:50 PM
RE: Djigital Aura - by DerVVulfman - 10-08-2016, 03:56 AM



Users browsing this thread: 1 Guest(s)