SetFPS
SetFPS

Sets the FPS of the parent JAM object.

bSuccess = mySpecial.SetFPS( Frames_Per_Second )

Return value
TRUE if the FPS was set successfully, otherwise FALSE.

Parameters
  • Frames_Per_Second
    The FPS to run the game at.
Comments

This value is used to limit the FPS. Setting it higher will not always speed the game up. Also, the real FPS may not match this value exactly.
If your game is running too slowly, look into using the Machine Independant Speed option to speed it up.
The FPS is 50 by default.

See also
Special:GetFPS
Special:SetMIS



JAM © 2005 no one in partiular
Project started by David Evans in 2005