RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Help with Editing Battler Locations -EDIT-

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 88
~Genma
-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



« Last Edit: January 11, 2007, 05:17:11 AM by Django_red »
"What a terible night to have a curse..."

**
Rep: +0/-0Level 88
~Genma
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..."