Jump to content

Fb Instant Game Not Working

Aidid Alam

Recommended Posts

Hey I'm very new in javaScript and Phaser. So I'm not sure what wrong I'm doing.

But my game is not Loading .It just stuck on 0%

FBInstant.initializeAsync().then(function() {

let gameConfig = {
        type: Phaser.AUTO,
        scale: {
            mode: Phaser.Scale.FIT,
            autoCenter: Phaser.Scale.CENTER_BOTH,
            parent: 'thegame',
           width: window.innerWidth,
           height: window.innerHeight
        physics: {
            default: 'arcade'
        scene: [welcomeGame,
    game = new Phaser.Game(gameConfig);

class welcomeGame extends Phaser.Scene{


Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...