View unanswered posts | View active topics It is currently Sat Dec 28, 2024 3:09 pm



Reply to topic  [ 3 posts ] 
 Problems I am having - Offsets 
Author Message
User avatar

Joined: Mon Dec 10, 2007 3:30 am
Posts: 13
Reply with quote
Post Problems I am having - Offsets
I am learning slowly, how to mod. As of now I've made the dropship but cannot seem to get the engines Offsets correctly placed. I've attached my files for it.


Last edited by Inquisitor on Tue Dec 25, 2007 5:04 am, edited 1 time in total.



Tue Dec 25, 2007 1:02 am
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Problems I am having - Offsets
Give, Teach, Man, Fish, Etc.



First thing, is that sprite offsets should be negative halves of the images dimensions, for simplicity. So if the image's dimensions are 20,20 your sprite offset should be -10, -10. Now the other offsets are based off of the center of the image.

Try setting the other offsets that need changing to 50, 50.
Then -50 -50.
From testing these, you'll see what's left, right, up, and down.

Go back to 0,0 and figure out how many pixels horizontally you are off by and how many pixels vertically you are off by, and from what you've found out, adjust your offsets accordingly. Tweak to perfection from there.


Tue Dec 25, 2007 4:30 am
Profile
User avatar

Joined: Mon Dec 10, 2007 3:30 am
Posts: 13
Reply with quote
Post Re: Problems I am having - Offsets
Problem solved, thanks.


Tue Dec 25, 2007 5:04 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.017s | 13 Queries | GZIP : Off ]