previous |  up  | next
 

Time Based Movement   

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()


purchase full version
Access EXE

 
 
 

 

 

 


 C
 C++
 Win32
 Direct3D
 OpenGL
 C#
 Java
 Free Tutorials