The Dink Network

Reply to Hardbox scaling

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
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?