Phaser API Documentation

  Version: 

Member of: Phaser.Game

<protected> boot()

Description:

This method is called automatically when the DOM is ready. It is responsible for creating the renderer, displaying the Debug Header, adding the game canvas to the DOM and emitting the 'boot' event. It listens for a 'ready' event from the base systems and once received it will call Game.start.

Since: 3.0.0
Source: src/core/Game.js (Line 346)