Jump to content

Phaser 3 Error on class only in IE 11


Dylan_HC
 Share

Recommended Posts

Hello,

I am currently developing a Game with Phaser 3 and all works like a charm on Chrome, Firefox, Opera and Edge.

But when i go to Internet Explorer 11, it tells me that there is an error on the class declaration (no one on other browsers) and it won't launch the game ...

I use the scene system and my declaration is like below :
 


/* Error on this line */class Menu extends Phaser.Scene {

    constructor ()
    {
        super({ key: 'Menu' });
    }

    preload ()
    {
        ... some code ...
    }

    create ()
    {
        ... some code ...
    }
}

It is really embarrassing, someone can help me ?

Thanks !

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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