chand1012 Posted May 24, 2017 Share Posted May 24, 2017 I am working on a basic platforming game and I had a demo working based on the Phaser platformer example on http://phaser.io/ and it works, until I pasted the code into a game state. Now that the game is in a state, it can't find the layer given in the JSON file. It returns "layer is undefined" when I try to use layer.resizeWorld();. Here is the level JSON file and here is the code for the actual game file. Link to comment Share on other sites More sharing options...
Recommended Posts