The Dink Network

Hardbox scaling

March 20th 2008, 10:02 AM
goblins.gif
Neo
Peasant He/Him Poland
He Who Would Steal The Flame Must Die 
I have been trying to get over this matter for a few weeks and still no good, so I thought I'll give it a shot and ask there.

Is there any way to force a sprite's harbox to adjust its position, when changing the sprite's size? Let's say I have a tree with a standard hardbox:
link
It's quite neat and stuff. Well, let's say I want to make it three times smaller. Its hardbox will shrink too, but it's position will remain unaltered.
link
I suppose that this thing happens because hardbox coordinate calculations are based not on "resized" sprite, but on the original-sized one.

Anyway, this is not a real problem if talking about one, two or event ten sprites, hardboxes could be redrawn by hand. But since I want to make some new, little monsters - and I don't want to declare new sequences nor make new resized sprites - changing all these sprites or sequences would be a little frustrating, wouldn't it?

Is there any easy way to do it?
March 20th 2008, 10:46 AM
pq_cthunik.gif
GOKUSSJ6
Peasant He/Him Poland
Everyone should get a pizza for free in each week. 
Select that tree and press Q key to edit the hardness sprite.
March 20th 2008, 10:55 AM
goblins.gif
Neo
Peasant He/Him Poland
He Who Would Steal The Flame Must Die 
Ehh, did you bother to read the whole post? I don't want to alter just one single hardbox. I want to massively edit the hardboxes of, for example, 100 resized sprites...
March 20th 2008, 10:40 PM
wizardb.gif
Endy
Peasant He/Him United States
 
Would be handy but I don't think it's actually posible, otherwise you could scrap most of the ini editing to begin with.