|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Author |
Message |
Devisera
Joined: Sun May 02, 2010 10:38 am Posts: 4 Location: Northern Ireland
|
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
|
Fri May 07, 2010 8:40 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: Offsets quick question
If you set your SpriteOffset to be -(half x), -(half y), then - is left and up, + is right and down.
|
Fri May 07, 2010 8:49 pm |
|
|
Devisera
Joined: Sun May 02, 2010 10:38 am Posts: 4 Location: Northern Ireland
|
Re: Offsets quick question
Is this from the top left hand side?
|
Fri May 07, 2010 8:51 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
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.
|
Fri May 07, 2010 9:02 pm |
|
|
Devisera
Joined: Sun May 02, 2010 10:38 am Posts: 4 Location: Northern Ireland
|
Re: Offsets quick question
okay, thanks Ill experiment a bit more to perfect it. Again, thanks
|
Fri May 07, 2010 9:05 pm |
|
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: Google [Bot] |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|