|
GetFPS | ||
FramesPerSecond = GetFPS() | ||
Parameters: NONE | ||
Returns: FramesPerSecond = The Maximum Frames Per Second Value |
||
The GetFPS function returns the maximum number of frame redraws (sync's) that can be drawn per second. FACTS: * A Setting the Maximum FPS rate to 0, means PlayBASIC is allowed to sync as fast as it possibly can. Mini Tutorial: This example sets the Max frames per second to 20, then displays PB's limit as well as the current FPS rate.
This example would output.
|
Related Info: | FPS | SetFPS | Sync | Timer : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |