

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


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.
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.
Login to add comment