-
Notifications
You must be signed in to change notification settings - Fork 3
GXFrameRate
boxgaming edited this page Dec 7, 2021
·
5 revisions
Gets or sets the current frame rate (expressed in frames-per-second or FPS).
The default value for the frame rate is 60.
frameRate% = GXFrameRate
GXFrameRate frameRate%
Example1: Get the current frame rate and then set it to a new value.
' Save the current frame rate
DIM oldFPS AS INTEGER
oldFPS = GXFrameRate
'Set the new frame rate to 90 FPS
GXFrameRate 90© 2022 boxgaming