No Revisions Have Been Made To This Page
Can you suggest an edit for this page? Click Here
GML Code Example
|flag||Set to true or false to enable or disable powersave functions.|
With this function you can turn on or off the power saving
features of the device. This is important as certain games (for
example those that use the tilt functions) may not generate events
that the OS can interpret as being user input and so shut down the
screen or exit the game. By setting this function to false
you can disable the power saving features and ensure that the
screen (and game) are always functioning.
NOTE: This is limited to iOS, Android and Windows 8 Phone targets.