Data Realms Fan Forums
http://45.55.195.193/

Problems I am having - Offsets
http://45.55.195.193/viewtopic.php?f=1&t=9354
Page 1 of 1

Author:  Inquisitor [ Tue Dec 25, 2007 1:02 am ]
Post subject:  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.

Author:  Azukki [ Tue Dec 25, 2007 4:30 am ]
Post subject:  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.

Author:  Inquisitor [ Tue Dec 25, 2007 5:04 am ]
Post subject:  Re: Problems I am having - Offsets

Problem solved, thanks.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/