Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[Resolved] Actually 2 questions...

Status
Not open for further replies.
When you begin a battle, the characters fade (to clear) then fade into the battle.

Is there any way to disable the characters from fading and initiate the battle immediately?

Thanks for any help you can give.

P.S. I'm not sure if this is an RGSS problem, or something I'd have to have a custom script for, so feel free to move it if necessary.
 
I'm not sure what you mean for question one. Do you mean skip the transition entirely (going from map to combat)?

If so, change the following code in the Scene_Battle1:
Code:
    # Execute transition
    if $data_system.battle_transition == ""
      Graphics.transition(0)
    else
      Graphics.transition(40, "Graphics/Transitions/" +
        $data_system.battle_transition)
    end
to
Code:
    # Execute transition
    if $data_system.battle_transition == ""
      Graphics.transition(0)
    else
      Graphics.transition(0, "Graphics/Transitions/" +
        $data_system.battle_transition)
    end
Basically what the above does is set the speed of the transition from cycles frames to instant.

Then/Or to cause the battlers to appear instantly, do the following in the Sprite_Battler script:

Code:
    # If invisible
    unless @battler_visible
      # Appear
      if not @battler.hidden and not @battler.dead? and
         (@battler.damage == nil or @battler.damage_pop)
        appear
        @battler_visible = true
      end
    end
to
Code:
    # If invisible
    unless @battler_visible
      # Appear
      if not @battler.hidden and not @battler.dead? and
         (@battler.damage == nil or @battler.damage_pop)
        #appear
        @battler_visible = true
      end
    end
Basically your just commenting out "appear", which forces the characters to appear instantly.

Hope that helps!
 
Status
Not open for further replies.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top