Main Menu
  • Welcome to The RPG Maker Resource Kit.

Help with Editing Battler Locations -EDIT-

Started by Django_red, January 09, 2007, 10:23:26 PM

0 Members and 1 Guest are viewing this topic.

Django_red

-EDIT- I got it to look a bit more like i wanted it to, but now my only problem is the order of the hero battlers...i need them to be in reverse, since the ones that are supposed to be in the background are overlapping the the ones that are supposed to be in the foreground. Can anyone dicipher this code and tell me what (and How) to adjust the troop battler order so i can fix the problem?

Code:
def screen_x
    if self.index != nil
      return self.index * 40 + 360
    else
      return 0
    end
  end

Code:
def screen_y
    return self.index * 20 + 220
end

Code:
def update
    super
    if $game_temp.battle_main_phase
      self.contents_opacity = 255
    end
  end
end [/i]



Alright, its looking like this right now,


As you can see, the battler order is in reverse, at least for the last party member. He's behind the second party member (the gunner) when he should be overlapping him.

ideally,  i'd like it to look more like this: (photoshop edit)

-thanks



"What a terible night to have a curse..."

Django_red

To be honest im not sure if i'm editing the right numbers here, or if i can maybe change it in the database somehow?
"What a terible night to have a curse..."