Login    You have 0 item(s) in your Shopping Cart  

 
 
previous | up | next 
Time Based Movement


 E-mail this product to a friend

Author:  DigiBen

This tutorial shows how to add just a few lines to your code to allow time based movement with your camera.  This technique allows your player to walk around in your 3D world the same speed, no matter how faster the computer is.  Frame based movement is a horrible way to do it when it comes to a game, especially over a network.

Functions Used:  glClear(), glLoadIdentity(), gluLookAt(), glTranslatef(), glRotatef(), SwapBuffers(), GetTickCount(), glColor3ub()


 
 
 


 GameTutorials Software
 C Tutorials
 C++ Tutorials
 C# Tutorials
 Java Tutorials
 Win32 Tutorials
 Direct3D Tutorials
 OpenGL Tutorials
 Recent Tutorials
 Free Tutorials



Get All 350+ Tutorials Now!


                                                              Main  |  FAQ  |  Terms of Use  |  Links Contacts Forums