Space Ship
A space invaders kinda question.
I took lesson 9 (the one with the stars falling into the center of the screen)
I added in a new texture for my ship, and new variables forward and turn
I am having trouble having the ship move forward, after rotating.
I can get the ship to move up and down, and rotate in place.. but not move after it has been rotated.
Here what I''m working with. (I still have the falling stars in the background)
glLoadIdentity();
glTranslatef(0,forward,zoom);
glRotatef(turn,0.0f,0.0f,1.0f);
//Draw the ship texture
quote:Original post by Ratalon
Ahh ha I got it!!
[edited by - Ratalon on March 24, 2003 3:56:41 AM]
Sometimes the best thing to do is write it out...helps you get your thoughts in order.
- sighuh?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement