Game Maker
Advertisement

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[]

Advertisement