Jump to content
  • Advertisement
Sign in to follow this  
BangorRipper

***Problem Updating Scores & glLoadIdentity***

This topic is 4993 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

the following is my mainloop() which contains a call to my updatePlayerScore methods which adds the value of the passed parameter to the player's current score: mainloop() if(bulletCreated) { if(shipBullet.bulletMissed()) { updatePlayerScore(-100); bulletCreated = false; } } and mainloop() is called once every loop from within the run() method why though, does 100 get taken off when i miss, but then a further 100 is subtracted the next time i shoot?? this is by the way, the only place that a score is subtracted thanks [Edited by - BangorRipper on March 14, 2005 12:02:40 PM]

Share this post


Link to post
Share on other sites
Advertisement
also..
if i keep calling GL11.glLoadIdentity() before i draw each model, would each model then be drawn relative to the same point? because i thought that it returned us to 0,0,0?? However with a GLU.gluLookAt(0,20,80, 0,0,0, 0,1,0); if i call loadIdentity and then draw a model, without translating, i cannot see it
thanks

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!