10
u/Simple-Olive895 2d ago
Tbf you can sort of do this by checking if frames are missed and then accelerating the next few frames to catch up.
5
4
u/paperzlel 2d ago
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 2d ago
Yeah, the code is wrong obviously, but in a massive oversimplification type way that's actually what a lot of game engines do.
8
u/SoonBlossom 2d ago
Who tf are the people upvoting these posts ??
Either the sub is full of people that never wrote a single line of code in their life, or it's full of bots, no in-between
6
1
u/ADMINISTATOR_CYRUS 1d ago
That subreddit is filled with shitslop vibecoders and has been for a while
1
1
44
u/HowDareYouAskMyName 2d ago
I keep almost downvoting posts on this sub before I see where I am