21-07-2007, 02:23 PM
So I never actually looked at the GAMEFPS thing. And decided to remove it to see what would happen. Well what happened was that my movement because so smooth I almost pied myself. And the Ping rise a lot =/
I know the lock is for slow computers, but I will lower the 50 value to 20 or something.
Code:
' Lock fps
Do While GetTickCount < Tick + 50
DoEvents
Loop
' Calculate fps
If GetTickCount > TickFPS + 1000 Then
GameFPS = FPS
TickFPS = GetTickCount
FPS = 0
Else
FPS = FPS + 1
End If