OptionalcontainerA DOMString to the container of the engine's canvas.
OptionalframerateIf set, gives a maximum framerate for the engine's fixed update loop.
OptionalfullscreenIf true, sets the width and height of the engine's canvas to follow the container's size.
OptionalheightHeight of the engine's canvas.
OptionalhooksHooks are functions that are called at specific points in the engine's runtime.
OptionalresolutionResolution used by the engine's canvas.
OptionalwidthWidth of the engine's canvas.
Options available to the Engine class.