About the mFrameTime feature. #27
YalekW5435
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For those who dont know, by default, the game runs all processes with the widget manager at 100 ticks. This causes severe screen tearing issues with monitors that dont support 100 hz, say like 60 hz only monitors.
However, with the
mFrameTimefeature, theres something special about this feature that I didnt even know I could do, especially without themVSyncUpdateson, (this turns on whenmAutoEnable3Dis on, btw). By default, this speeds or slows the whole game down. But:I did some interesting math with it, by casting the variable into a double instead of a normal integer. This can only be done via gameapp.cpp, or it wont work for the whole game.
mFrameTime = (double) 25 / 3.This does the following:Just something I found.
Beta Was this translation helpful? Give feedback.
All reactions