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.

One line needed for a script

arev

Sponsor

Be more specific. Generally if you want to start a battle you'd go with:
Code:
$scene = Scene_Battle.new
But hten again, I'm not really sure what you need :]
 
This has been asked a million times. Everyone wants to go from scene to scene, but it's just not possible. Here's what it would require:

Splitting up this
Code:
    # Branch according to phase
    case @phase
    when 1  # pre-battle phase
      update_phase1
    when 2  # party command phase
      update_phase2
    when 3  # actor command phase
      update_phase3
    when 4  # main phase
      update_phase4
    when 5  # after battle phase
      update_phase5
    end

To have it's own specialized phase. Then, create your own method looping for creation, disposal and update of your windows. I suggest reading the default battle system. You may skip out the interpreter stuff, just concentrate on understanding how the phase and branching of the phases work.
 

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