#1
|
|||
|
Mouse turning lag / frame skip issue SOLVED
This was driving me NUTS for so long. I recently have a problem where I would sometimes be mouse turning while running and the game would lag with a frame skip, sometimes very slight, sometimes up to a half a second. I had no idea what was causing this.
Then I realized that I got a new mouse, and I remembered an ancient bug I once found when writing my own game engine: The mouse polling rate was set too high. As soon as I turned down my mouse polling rate from 1000 to 125, all my issues disappeared. Here is how to do it in the Razer Synapse settings menu: [You must be logged in to view images. Log in or Register.] The reason for this happening is kind of technical, but here it is: Inside the main event processing game loop for some games (and it turns out, titanium) there's code like this: Code:
Event e; while (nextEvent(e)) { // do things with the event } Anyways - that's the fix. If you notice your game skipping frames while you mouse turn, try turning down your mouse poll rate. | ||
#2
|
|||
|
Thanks a lot, I'll try that on my logitech mouse !
| ||
|
|