-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Game speed is slightly faster than it should be #10
Comments
It might be that vsync isn't working -- that's the only thing keeping it from running as fast as it can. |
My monitor runs at 185hz, and I can't find a way to limit that AND not change my refresh rate without modifying the source |
Hm, yeah that sounds like a tricky thing to work around for a size-sensitive demo like this... |
deltabeard
added a commit
to deltabeard/pokegb
that referenced
this issue
Feb 12, 2024
Fixes issue binji#10 whereby gameplay would run at the speed of the monitor refresh rate. A delay is automatically calculated on each frame to slow down the gameplay if required. Note that this does not speed up the gameplay if the monitor has a refresh rate lower than 59 Hz. In such cases, VSYNC should just be disabled in the source code. Signed-off-by: Mahyar Koshkouei <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On my machine, the speed of the game is slightly faster than it should be.
I am running Ubuntu 20.04.2 LTS x86_64
The text was updated successfully, but these errors were encountered: