Phaser API Documentation

  Version: 
showLoadProgress(scene)

Description:

Call this method from your Scene.preload in order to sync the load progress of the Phaser Loader with the Facebook Instant Games loader display, i.e.:

this.facebook.showLoadProgress(this);
this.facebook.once('startgame', this.startGame, this);

Parameters:

name type description
scene Phaser.Scene

The Scene for which you want to show loader progress for.

Returns:
Description:

This Facebook Instant Games Plugin instance.

Since: 3.13.0