Jump to content

this.sys.context is null?


jake.caron
 Share

Recommended Posts

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

 Share

  • Recently Browsing   0 members

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