Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Space Ship

This topic is 5719 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post

Link to post
Share on other sites
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?

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!