Page 1 of 1
What's the difference between Height and GFXHeight
Posted: Thu Jun 12, 2014 7:02 am
by Valentine
Those are both npc codes, but i don't understand how they are different... Can someone explain to me what's the difference
Re: What's the difference between Height and GFXHeight
Posted: Thu Jun 12, 2014 7:21 am
by RudeGuy
Translate them to your language.
Re: What's the difference between Height and GFXHeight
Posted: Thu Jun 12, 2014 7:22 am
by zlaker
Christian07 wrote:Translate them to your language.
He means what's the differnece. I think he knows what words mean
Re: What's the difference between Height and GFXHeight
Posted: Thu Jun 12, 2014 7:34 am
by RudeGuy
Ice wrote:Christian07 wrote:Translate them to your language.
He means what's the differnece. I think he knows what words mean
Well...OK.
The only differance of height and GFXheight is that the first one is the height of the NPC in the game, and the second one is the height of the NPC in the IMAGE.
Re: What's the difference between Height and GFXHeight
Posted: Thu Jun 12, 2014 7:39 am
by Valentine
i think i understand it now, thanks
Re: What's the difference between Height and GFXHeight
Posted: Thu Jun 12, 2014 8:59 am
by bossedit8
To be exact on that:
width= The NPCs hitbox width (in pixels)
height= The NPCs hitbox height (in pixels)
gfxheight= Only set if sprite height is different than Hit box height.
gfxwidth= Only set if sprite width is different than Hit box width.
Re: What's the difference between Height and GFXHeight
Posted: Thu Jun 12, 2014 9:23 am
by Chad
Actually, with some NPCs, you do need to specify all four even if only one of them is changed, regardless of what the others are like. That aside, bossedit and Christian07 are correct.