Phaser API Documentation

  Version: 
Event: COMPLETE
Phaser.Loader.Events.COMPLETE
COMPLETE

Description:

The Loader Plugin Complete Event.

This event is dispatched when the Loader has fully processed everything in the load queue. By this point every loaded file will now be in its associated cache and ready for use.

Listen to it from a Scene using: this.load.on('complete', listener).

Parameters:

name type description
loader Phaser.Loader.LoaderPlugin

A reference to the Loader Plugin that dispatched this event.

totalComplete number

The total number of files that successfully loaded.

totalFailed number

The total number of files that failed to load.

Since: 3.0.0