Jump to content

get cache json layers / data?


Recommended Posts

I'm trying to figure out how to get json layer data from the phaser cache.. 


I'm using game.cache._json but this just seems to return functions?


I'm trying to get tile data so I can create 2d array of tile types (e.g. 0,0,8,5) each value representing a tile from the tilemap. I'll then use this with A* for pathfinding.


Any help would be appreciated!


Link to comment
Share on other sites


  • Recently Browsing   0 members

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