Original Post
Hello all, i''m using DirectInput to read the keys that are pressed. My car race game is working fine, when you push the right arrow key the car is changing of his image, to the next frame. But, when you drive and you press the right arrow key button the car is turning too fast. You can make corners that are too sharp, do you understand me? My main game loop looks like:
''main game loop
Do While bRunning
lCounter = GetTickCount() - lStartTime
If lCounter > lNewTime Then
''update game display
Game_Update lCounter
''update frame count
lNewTime = lCounter + 1000 / MAXFRAMERATE
UpDown = False
DownDown = False
Keyboard.Check_Keyboard ''Checks which keys are pressed
End If
''check for user input
DoEvents
Loop
I want some kind of delay, but no mather what i try, nothing is working fine.
Thanks in advance.
Mosselmaniac