Hi Guys, long time no speak! 
Having a little trouble with implementing pathfinding in my dissertation program. I'm basically at the point where I need to check if a tile is collidable or not within the algorithm and the way I have currently implemented the tile collision isn't compatible with pathfinding, as its currently click per tile move in said direction.
Does anyone have any ideas how I can reference every CGPoint from the tile map and stick them in an array? The tile map as per title is currently imported as a CCTMX tilemap (.tmx file) and was created in TILED for Mac OS.

Having a little trouble with implementing pathfinding in my dissertation program. I'm basically at the point where I need to check if a tile is collidable or not within the algorithm and the way I have currently implemented the tile collision isn't compatible with pathfinding, as its currently click per tile move in said direction.
Does anyone have any ideas how I can reference every CGPoint from the tile map and stick them in an array? The tile map as per title is currently imported as a CCTMX tilemap (.tmx file) and was created in TILED for Mac OS.
Last edited: