fps (Game Maker)
(Game Maker 6.1, 7)
fps - actual number of frames drawn per second
Description
fps contains the actual number of frames drawn per second, unlike room_speed which technically contains the maximum number of frames to be drawn per second (whether it actually does or not is dependent on the speed of the computer running your game).
Examples
Example of Use
room_caption = string(fps);
This will display the frames per second in the room_caption.
Displaying Lag
room_caption = string(room_speed - fps);
This will show the lag in the room_caption.
Related Pages
Similar To
page revision: 14, last edited: 30 Jun 2012 15:50