Help - Search - Members - Calendar
Full Version: Battle system help
RPG RPG Revolution Forums > Scripting > Script Development and Support > RGSS
Pivetor
ok, so i am using this script
CODE
class Game_Actor
  #-----------------------------------------------------------------------
  # * Get Battle Screen X-Coordinate
  #------------------------------------------------------------------------
  def screen_x
    if self.index != nil
      pos = $data_classes[self.class_id].position
        return (self.index * 20) + (pos * 40) + 480
    else
      return 0
    end
  end
  #------------------------------------------------------------------------
  # * Get Battle Screen Y-Coordinate
  #------------------------------------------------------------------------
  def screen_y
    return self.index * 45 + 175
  end
end


And i have 2 things wrong.
1. I cannot find sprites for my characters to use in battle, so i use the default pictures which are WAY to big.
2. The characters seem to overlap each other.

Can anyone help me out here?



^ note, that is 4 separate characters right there.
Redd
Moving to RGSS Script Support.
brewmeister
You need to make battlers for each character & enemy.
Just crop the first cell in the second row (left facting) of the character set into a separate image



Use the first cell in the 3rd row for enemies (right facing)

Save the image in the Graphics\Battlers folder, and assign the battler in the database.

You will also want to rearrange the enemy battlers on the Troops tab
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.