Fandom

Game Maker

FPS

281pages on
this wiki
Add New Page
Talk0 Share

Returns the currently displayed Frames Per Second. This generally says how fast your game is playing, it will never go beyond the room speed. For example, fps = 320.

To get the FPS values, you can use these codes:

FPS:

Example:

if (debug_mode)    

{
draw_text(32, 32, "FPS = " + string(fps));
}

FPS Real:

Example:

if debug_mode

   {
   draw_text(32, 32, "FPS = " + string(fps_real));
   }

See Also Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.