Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Battle system help
Pivetor
post Jun 12 2011, 12:10 PM
Post #1


Level 1
Group Icon

Group: Member
Posts: 6
Type: None
RM Skill: Undisclosed




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.
Go to the top of the page
 
+Quote Post
   
Redd
post Jun 13 2011, 09:36 AM
Post #2


:<
Group Icon

Group: Revolutionary
Posts: 2,310
Type: Developer
RM Skill: Advanced




Moving to RGSS Script Support.


__________________________
Go to the top of the page
 
+Quote Post
   
brewmeister
post Jun 13 2011, 02:54 PM
Post #3


Paste above Main
Group Icon

Group: Revolutionary
Posts: 408
Type: Scripter
RM Skill: Skilled




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


__________________________
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th May 2013 - 08:50 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker