Jump to content
  • 0

NPC/Sprite name 'height' difference


Question

Posted

Hi all,

 

I noticed some of my NPC/sprites have a different 'height' between the sprite itself, and their name, which looks really unprofessional.. 

 

I assume it has something to do with the sprite's size, my question is: does anyone know how to avoid this? Meaning all Names of my sprites stand on the same height above the NPC?

 

Thanks in advance,

 

Darkenssligther

2 answers to this question

Recommended Posts

  • 2
Posted

It's all based on the height of your 'frames' in the entity sprite sheets. If one sprite has more transparent pixels above their head versus another you'll have the same issue.

 

Only real way to tweak it is to modify the graphics so they are similar.

  • 0
Posted

Only way I have figured to sort this is make sure all sprites are set to the same size, or very close, which isnt the best. I cant find anything in the .json files to set this but even then I dont it would make a difference too much.

 

Probs have to wait for source and see how the Sprites are drawn and make a condition moving bar and name if a certain size.

×
×
  • Create New...