Is the wait function frame independent?

The wait function is frame independent for the time, but the actions after the wait will still trigger only when the next frame hits.

So waiting0.000001 seconds is no different than 0.016 seconds in a 60fps game since the actions still won’t happen until the next frame.

Note that if the entire game is running below mininum fps it will slow down, this includes timers. Time Deltas, and waits.

Sources are arthuro, the person who made waits. How to animate a loop so it doesn't freeze - #6 by arthuro555

2 Likes