I’m trying to implement Lloyd’s FPS camera in my coude but it works very bad, dont know why.
I’ve tried to put the functions that moves the camera into a while (Keyboard.next()) loop but works worst when I do it…
I realy dont know what to do here :S. The game isn’t laggy, works at 60fps
here is the source code: http://www.mediafire.com/?da5z2akca1jnnda
the “important” classes are: Game.java and FPCameraController. There’s actually a “InitGL” method into Screen class and I dont know if has the appropiate settings for this setup.
Well, I hope somebody can help me Thanks!