Data Realms Fan Forums http://45.55.195.193/ |
|
Offsets quick question http://45.55.195.193/viewtopic.php?f=1&t=18689 |
Page 1 of 1 |
Author: | Devisera [ Fri May 07, 2010 8:40 pm ] |
Post subject: | Offsets quick question |
From what side are offsets measured from in the x and the y? Ive searched the useful threads and cant really find anything |
Author: | Duh102 [ Fri May 07, 2010 8:49 pm ] |
Post subject: | Re: Offsets quick question |
If you set your SpriteOffset to be -(half x), -(half y), then - is left and up, + is right and down. |
Author: | Devisera [ Fri May 07, 2010 8:51 pm ] |
Post subject: | Re: Offsets quick question |
Is this from the top left hand side? |
Author: | Duh102 [ Fri May 07, 2010 9:02 pm ] |
Post subject: | Re: Offsets quick question |
Well, I'm not entirely certain, but I believe that you can visualize the SpriteOffset as the amount to move the sprite over the offset, which is in the upper left corner, so that both negative values go left and up. After that, you move the points themselves over the sprite. I'm not all that certain of this information though. |
Author: | Devisera [ Fri May 07, 2010 9:05 pm ] |
Post subject: | Re: Offsets quick question |
okay, thanks Ill experiment a bit more to perfect it. Again, thanks |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |