I basically need it in order to introduce a timer that is affected by game lag:
Here is how it could be done:
In this case, I want to replace the “60” in the formula with the game’s current framerate. That way if the framerate drops, the timer will also drop.
It would also be useful to have it in a condition in some cases, where if the game runs at a too low framerate, some effects can automatically be disabled.
This expression already exists :
It returns the time since the last frame. So :
returns the “frame” frequency, also know as FPS.
ah I see. Thank you. I am really bad at math