Skip to content

Instantly share code, notes, and snippets.

@9ary
Last active December 25, 2023 21:56
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 9ary/e45af2bee523d47923c8c9d1000fd5e8 to your computer and use it in GitHub Desktop.
Save 9ary/e45af2bee523d47923c8c9d1000fd5e8 to your computer and use it in GitHub Desktop.
@v1993
Copy link

v1993 commented Jul 13, 2021

This is a great write-up! This article also reminded me about another one (by Croteam, I think) about fact that, in practice, frame times measured by program are actually different from presentation times, making gameplay at steady vsynched 60FPS (on 60FPS monitor) feel bad unless you force engine to count each frame as 16.66 ms.

@9ary
Copy link
Author

9ary commented Jul 13, 2021

Thanks! There are actually APIs for scheduling frames and getting feedback as to when they're presented (usually used for video playback, but no reason games couldn't use them).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment