Namespace: SystemSettings

SystemSettings

Source:

Members

(static, constant) SystemSettings :DefaultSettings

Settings object, should be passed as a parameter to System.constructor().
Source:

Type Definitions

DefaultSettings

Default SystemSettings
Properties:
Name Type Description
mode String DEBUG/PRODUCTION, debug mode system Logger will show debug information in the console
gameOptions gameOptions
network network network settings
canvasMaxSize canvasMaxSize
worldSize worldSize
defaultCanvasKey string
customSettings Object any custom settings
Source:

boundaries

boundaries (collision shapes)
Properties:
Name Type Description
mapBoundariesEnabled boolean
realtimeCalculations boolean
wholeWorldPrecalculations boolean
Source:

canvasMaxSize

Properties:
Name Type Description
width number
height number
Source:

cyclesTimeCalc

cycles time calc
Properties:
Name Type Description
check String
averageFPStime Number
Source:

gameOptions

Properties:
Name Type Description
library String
render render
debug debug
optimization String
optimizationWASMUrl String
optimizationAssemblyUrl String
loadingScreen loadingScreen
Source:

loadingScreen

Properties:
Name Type Description
backgroundColor String
loadingBarBg String
loadingBarProgress String
Source:

network

Properties:
Name Type Description
enabled boolean disabled by default
address String server address
gatherRoomsInfoInterval number
Source:

worldSize

Properties:
Name Type Description
width number
height number
Source: