Jump to content

access to tile


Recommended Posts

I have:

game.load.tilemap('desert', 'assets/desert.json', null, Phaser.Tilemap.TILED_JSON);
game.load.image('tiles', 'assets/tmw_desert_spacing.png');


map = game.add.tilemap('desert');
map.addTilesetImage('Desert', 'tiles');


i can for example:



how i can access to number 3 in tilemap?

For example, how i can get all 'x' coordinates image number 3?






Link to comment
Share on other sites


  • Recently Browsing   0 members

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