Optional
containerA DOMString to the container of the engine's canvas.
Optional
framerateIf set, gives a maximum framerate for the engine's fixed update loop.
Optional
fullscreenIf true
, sets the width and height of the engine's canvas to follow the container's size.
Optional
heightHeight of the engine's canvas.
Optional
hooksHooks are functions that are called at specific points in the engine's runtime.
Optional
resolutionResolution used by the engine's canvas.
Optional
widthWidth of the engine's canvas.
Options available to the Engine class.