Dylan_HC Posted August 27, 2018 Share Posted August 27, 2018 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 More sharing options...
rich Posted August 27, 2018 Share Posted August 27, 2018 That code is ES6. IE11 doesn't support ES6. Link to comment Share on other sites More sharing options...
Recommended Posts