Wednesday, March 18, 2009

Ship movement done

I was finally able to do the ship movement and that too properly. Now the left and right keys are used to rotate the ship and the forward key is used to move it forward. The problematic part was to rotate the ship at an angle and then move it according to the angle. Not to mention that I also needed to corelate the appropriate sprite to the appropriate angle. You can see the ship moving about in the screenshot below. 

No comments:

Post a Comment