Jump to content
  • 0
Ainz Ooal Gown

Target Box Position

Question

Is their a way to edit the target box to display at the bottom of a entity instead of in the middle? As if you have sprites that are different sizes then it makes the target.png a pain.

 

Cant see anything in the GUI/.json files.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

The trick is very simple(and that's what I'm actually doing)

 

Set a default spritesheet picture size and draw the sprites fitting these picture dimensions. The target box will be displayed in the same position for all the characters whose spritesheet follows that rule.

Share this post


Link to post
Share on other sites
  • 0
3 minutes ago, Khaikaa said:

The trick is very simple(and that's what I'm actually doing)

 

Set a default spritesheet picture size and draw the sprites fitting these picture dimensions. The target box will be displayed in the same position for all the characters whose spritesheet follows that rule.

 

Thanks for the trick mate, I already tried that and it is the best option for the time being, just I have a lot of sprites at different sizes so NPC name looks decent and set right above NPC, as a chicken is smaller than an orc so the gap above the NPC name for the chicken was large if spritesheet was same across the board, if you get me.

 

Was just thinking if there was a way to get the target.png to render at the base or even top of the sprite, under its name maybe so it would be universal for all my sprites, instead of it being aligned to the center of the sprite. So could have it like this (example): [________]

 

Hope this makes sense :P

Share this post


Link to post
Share on other sites
  • 0
On 1/10/2019 at 10:11 AM, Khaikaa said:

The trick is very simple(and that's what I'm actually doing)

 

Set a default spritesheet picture size and draw the sprites fitting these picture dimensions. The target box will be displayed in the same position for all the characters whose spritesheet follows that rule.

You can explain this on spanish khaikaa? :c

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×