Jump to content

Question

Posted

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.

4 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted
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

  • 0
Posted
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

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
×
×
  • Create New...