jake.caron Posted October 11, 2018 Share Posted October 11, 2018 Hello, I am trying to follow this code snippet here: http://labs.phaser.io/edit.html?src=src\animation\spine test 1.js. When trying this on my own project, this.sys.conext is null right off the bat. Anyone know why this might be? The config can be seen below: let config = { type: Phaser.AUTO, width: 1024, height: 768, parent: 'gameWrapper', renderer: Phaser.CANVAS, physics: { default: 'arcade', arcade: { gravity: { y: 200 } } }, antialias: true, transparent: false, autoResize: true, scaleMode: phaser.ScaleModes.DEFAULT }; Link to comment Share on other sites More sharing options...
jake.caron Posted October 11, 2018 Author Share Posted October 11, 2018 Ah, figured it out. You need to set the "type" in the config to Phaser.Canvas, not just the renderer. Link to comment Share on other sites More sharing options...
samme Posted October 11, 2018 Share Posted October 11, 2018 photonstorm/phaser/pull/4077 Also, there's no renderer property. It's type you want. jake.caron 1 Link to comment Share on other sites More sharing options...
Recommended Posts