0
Calculating frames per second in a game

What's a good algorithm for calculating frames per second in a Gta v game? I want to show it as a number in the corner of the screen. If I just look at how long it took to render the last frame the number changes too fast.

Bonus points if your answer updates each frame and doesn't converge differently when the frame rate is increasing vs decreasing.


Python 31-12-22, 12:36 p.m. isaniawert
0
That doesn't mean video games should take the place of books.
Many games, such as io games, are set in 3D virtual worlds that children must navigate. There's also no GPS or smartphone map app to guide you.
Oops! Looks like spam! Waiting for moderator approval.
03-01-23, 2:02 p.m. jackjohnsonpo

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


Log-in to answer to this question.