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.

Sideview Battler Help

Nolund

Sponsor

Hey, I'm using this sideview battler for my new game, and when I enter a battle my party is all screwed up. They are all over the screen. How can I rearrange them so they are in a line like they are supposed to be.

Also, I need to know how to change the position of an enemy so it isn't randomly on the bottom of the screen.

Sorry, I'm a total RGSS noob >.<
 
You simply need to modify the screen_x and screen_y methods in both Game_Actor and Game_Enemy.

Code:
 

class Game_Actor

  def screen_x

    return self.index * blah

  end

  def screen_y

    return self.index * blah

  end

end

 

class Game_Enemy

  def screen_x

    return self.index * blah

  end

  def screen_y

    return self.index * blah

  end

end

You are going to have to come up with a formula where it says return self.index * blah in each area. If you need help with this, make a screenshot of your battle, open it in paint, and draw lines on it. Post your screen here.

However, if this system is an animated side-screen system, you will have to look for those methods in the script, and modify the base value in that (probably).
 

Atoa

Member

@NNolund
The enemy position is defined by *you* in the troops tab of database.

the party position is defined in this line of the script "* SBS Config"
Code:
  ACTOR_POSITION = [[460,180],[480,210],[500,240],[520,270]]
 

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