OptionalinitWhether or not to automatically initialize the interval-based managers.
Warning: If you set this to false, you will need to manually call keyManager.init() and eventManager.init() to initialize them.
The storage to use for the game. If you want to use a different storage, you can specify it here.
OptionalmodeThe mode to run the game in. Not used internally.
The name of the game. Not used internally.
The ID of the game. Used for naming saves.
Optionaltitle?: stringThe title of the game.
Optionalversion?: stringThe version of the game. Not used internally.
OptionalsettingsThe settings for the game.
Optionalframerate?: numberThe framerate to use for the game and various managers. Defaults to 30
The game configuration interface. Some options are not used internally, but you can access them by using
game.config. See gameDefaultConfig for the default configuration.