A downloadable Debugging Thing

Download NowName your own price

GameMaker Studio 2.3+ only.

Ever wanted a pretty visualization of how your game's performing? You'll probably like this. View the instantaneous and average frame rate of your game on a speedometer-like gauge (hence the name) or, if you prefer, a line graph over time.

Using the script is about as simple as it gets. Import the asset into your game and call the fps_speedometer function. The function must be called in order for it to record data; if you do not wish to show the graph, set the first parameter to false  and ignore the position arguments. (You most likely want to do this at the bottom of the Draw GUI event.)

The only file you need is the script containing the function, but you can look through the others if you want to see it in use. Otherwise, you can delete the rest of the files if you don't need them.

Credits

It's the same demo scene that Emu uses. I'm lazy.

  • The duckling in the demo was created by @alemunin
  • The 3D meshes in the demo were created by kenney.nl
  • The skybox in the demo was created by Spiney


Download

Download NowName your own price

Click download now to get access to the following files:

FPSSpeedometerDemo.zip 2 MB
fpsspeedometer.yymps 981 kB

Development log

Comments

Log in with itch.io to leave a comment.

Heyyy, that's an amazing idea!

(+1)

Thanks!