BootState
Extends:
Starting point for prettymuch everything Retrieves and initializes the preloader assets Displays an empty black screen while preloader assets are downloading
Constructor Summary
Public Constructor | ||
public |
Constructor method for BootState Sets the loading image Returns a new instance of this class |
Member Summary
Public Members | ||
public get |
app: * Getter for the app property this.app is a synonym for this.game |
|
public |
|
Method Summary
Public Methods | ||
public |
create() Runs once, before the first frame is rendered for this state |
|
public |
preload() Runs once, before the create method for this state Sets up app scaling behavior Retrieves the loading image from the server |
|
public |
update() Runs continuously, before each frame is rendered for this state Starts the LoadState once the loading image has been retrieved |
Public Constructors
public constructor() source
Constructor method for BootState Sets the loading image Returns a new instance of this class
Public Members
public loadingImageURL: * source
Public Methods
public preload() source
Runs once, before the create method for this state Sets up app scaling behavior Retrieves the loading image from the server
public update() source
Runs continuously, before each frame is rendered for this state Starts the LoadState once the loading image has been retrieved