Rchristiani

Members
  • Content Count

    1
  • Joined

  • Last visited

About Rchristiani

  • Rank
    Newbie

Contact Methods

  • Twitter
    Rchristiani
  1. @wesbos @dannypaton_ @FITC @harismahmood89 nailed it.

  2. I have searched a few times on this forum for this issue, but I can't seem to fix it based on the results. I want to set up collision based on a polyline, so I add the info GW.game.load.tilemap('collision', 'assets/ghost-wizard.json', null, Phaser.Tilemap.TILED_JSON);And then: GW.map = GW.game.add.tilemap('collision');GW.layer = GW.map.createLayer('collision');On the createLayer line it is throwing the error, 'collision' is the name of the layer as well as the tilemap. When I inspect the element sent to the createLayer method I notice that the layer property is a completely emptya array. I have not altered the tilted JSON info at all. I am using Phaser version 2.0.5 dev branch. Any tips to help figure this one out. Or let me know if you have if any other info is needed. Thanks