Jump to content
  • 0
Sign in to follow this  
Darknesslighter

NPC/Sprite name 'height' difference

Question

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

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 2

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.

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...