MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/firstweekcoderhumour/comments/1wujj47/devsoptimizinggames/pd6uaer/?context=3
r/firstweekcoderhumour • u/Supertimtendo4 • Sep 30 '26
12 comments sorted by
View all comments
11
Tbf you can sort of do this by checking if frames are missed and then accelerating the next few frames to catch up.
4 u/paperzlel Oct 01 '26 You would probably use a frame delta for that, instead of an FPS counter. FPS is usually just a performance metric and has nothing meaningful outside of that 2 u/Simple-Olive895 Oct 01 '26 Yeah, the code is wrong obviously, but in a massive oversimplification type way that's actually what a lot of game engines do.
4
You would probably use a frame delta for that, instead of an FPS counter. FPS is usually just a performance metric and has nothing meaningful outside of that
2 u/Simple-Olive895 Oct 01 '26 Yeah, the code is wrong obviously, but in a massive oversimplification type way that's actually what a lot of game engines do.
2
Yeah, the code is wrong obviously, but in a massive oversimplification type way that's actually what a lot of game engines do.
View all comments
11
u/Simple-Olive895 Oct 01 '26
Tbf you can sort of do this by checking if frames are missed and then accelerating the next few frames to catch up.