- This wiki is out of date, use the continuation of this wiki instead
Set fps
From FenixWiki
(Difference between revisions)
Revision as of 00:25, 26 June 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Revision as of 19:57, 26 June 2007 (edit) (undo) Sandman (Talk | contribs) m Next diff → |
||
Line 19: | Line 19: | ||
== Notes == | == Notes == | ||
It is said, the frame skipping does not work satisfactory in Fenix 0.83b. | It is said, the frame skipping does not work satisfactory in Fenix 0.83b. | ||
+ | |||
+ | The current FPS is in the [[global variable]] [[fps]]. |
Revision as of 19:57, 26 June 2007
Contents |
Definition
INT set_fps ( <INT fps> , <INT skip> )
Sets the framerate of the program.
Parameters
INT fps | - Frames per second to use. |
INT skip | - Frames the program is allowed to skip if it's running low on processor time. |
Returns
INT : The FPS entered.
Notes
It is said, the frame skipping does not work satisfactory in Fenix 0.83b.
The current FPS is in the global variable fps.