Jump to content



Recommended Posts

I created a map in tiled but its not finding my tileset.

this.game.load.tilemap('level1', 'assets/tilemaps/level1.json', null, Phaser.Tilemap.TILED_JSON);
this.game.load.image('tiles', 'assets/tiles/twilight.png');
var map = this.game.add.tilemap('level1');
map.addTilesetImage('twilight', 'tiles');

Error: Phaser.Tilemap.addTilesetImage: No data found in the JSON matching the tileset name: "twilight"


I fixed it....


Link to comment
Share on other sites


  • Recently Browsing   0 members

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