System is the object that handles certain system-related settings. Be careful when you don't know what you're doing!

List of variabled in the System scope:

Variable name Variable type Description Default(beta 4.22)
antiAlias positive integer value determines the amount of antialias used 1
depth positive integer value color depth 32
exit function shuts down the game ---
fullscreen true or false sets phun to fullscreen and back false
maxFPS decimal positive value the maximum allowed FPS 60.0
minFPS decimal positive value the minimum allowed FPS 10.0
objectCurrent Read only positive integer value don't touch
objectHandleCurrent Read only positive integer value don't touch
objectTotal Read only positive integer value the total amount of objects
recreateWindow function rebuilds the main window ---
resizable true or false if the window can be resized or not true
resolution array of 2 positive integers the resolution of the window
screenshot function makes a screenshot of the window (shortcuts: [F12]) ---
time decimal positive value the amount of seconds the game has been running
vSync true or false if vSync is enabled false
Last modified August 24, 2008 8:08 am
Copyright 2008 Algoryx Simulation