|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Author |
Message |
Buliaras
Joined: Fri Oct 30, 2009 8:04 pm Posts: 10
|
Bullets Offset
Greetings all. I'll get right to the point. I'm having trouble with the offset of the bullets coming out of the barrel of my weapon. I successfully moved my weapon down as I wanted, but the bullets are staying at their origin and I can't find where to bring them down as well. Any thoughts?
|
Thu Nov 12, 2009 4:36 am |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: Bullets Offset
MuzzleOffset is where rounds emerge from an HDFireArm.
|
Thu Nov 12, 2009 4:41 am |
|
|
Buliaras
Joined: Fri Oct 30, 2009 8:04 pm Posts: 10
|
Re: Bullets Offset
Thanks. I figured it out, finally. I guess you just have to type in numbers until it looks right, huh?
|
Thu Nov 12, 2009 9:58 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: Bullets Offset
Actually, there is a science to it. If you set the SpriteOffset to exactly -(50%) height and width of the sprite (50 width, set SpriteOffset X to -25), then all offsets follow the image. Remember that lower right is positive and upper left is negative, so that going from the middle of the image down 2 pixels is an offset of X = 0 and Y = 2.
|
Thu Nov 12, 2009 10:09 pm |
|
|
Hobbesy
Joined: Mon Feb 11, 2008 11:11 pm Posts: 711 Location: East of Applachia, West of the Mississippi
|
Re: Bullets Offset
Making your offsets correct is like plotting points on a graph. The only hitch is that the variables are reversed. (Positive means you're going down and to the left, negative means up and to the right.) There's a nice tutorial on the wiki too, if you need any more help.
|
Thu Nov 12, 2009 10:12 pm |
|
|
|
|
Page 1 of 1
|
[ 5 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
|
|