Hi guys, i've been digging through every function i can think of with the c++ version of the Dark GDK and i can't figure out how to get a working FPS camera to move. I'm trying to simply duplicate movements like Quake. I can jump and my gravity works great BUT
My movements with the arrows (or WASD keys) don't have anything to do with where i'm looking. Its more like a dolly effect.
dbMoveCamera( 1) seems to do nothing.
My code for the strafing doesn't work either (for now i just rotate, move, then rotate back before i call the synch() ). What i get is a horrible flickering effect, looks like its trying to write the intermediate step to the screen before i call synch.
Also dbMoveCameraLeft , dbMoveCameraRight, up down, doesn't matter, i seem to get no result. The only thing that DOES work is the dbCameraPosition( float ,float , float) function. Can somebody give me the jist of how to get this to work? I'm ok with using sin() cos() on my x and z camera positions, i just dont' know how to go about doing it.
hey doods