const config = { type: Phaser.WEBGL, width: 800, height: 600, backgroundColor: '#000000', parent: 'phaser-example', scene: [ DemoA, DemoB, DemoC, DemoD, Controller ] }; const game = new Phaser.Game(config);
Scan to open on your mobile device
const config = { type: Phaser.WEBGL, width: 800, height: 600, backgroundColor: '#000000', parent: 'phaser-example', scene: [ DemoA, DemoB, DemoC, DemoD, Controller ] }; const game = new Phaser.Game(config);