Build games as easily as you play them — join the Phaser Beam waitlist for Early Access.
                
            
            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);
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);