Page 1 of 1

making a game out of astroid

PostPosted: Fri Nov 23, 2007 3:09 am
by scottieb
I just wanted to give my ship side thrusters, so it can straff.

Re: making a game out of astroid

PostPosted: Fri Nov 23, 2007 8:05 pm
by makslane

Re: making a game out of astroid

PostPosted: Sun Nov 25, 2007 6:45 am
by scottieb
What I am trying to do is have a ship that can turn and move it self in what ever direction the side is pointing in addition to the already funcitonal buttons of up, which move it foward. So while the side thrusters are pushing it side ways the up key can be pushed turning the ship like the hands on a clock. This way it can manuvere around a target while still having the gun pointed at the target. I didn't see any diferent between the demo you sent me and the one I had already downloaded.

Re: making a game out of astroid

PostPosted: Fri Dec 21, 2007 5:34 am
by scottieb
I was wondering if anyone can give me some code to solve this problem. I have looked a moondefender and I think this code is almost what I need, but I can't figure out how to change it.

angle = (ship.animpos/ship.nframes)