Trouble handling collision using Advanced Tiled Loader
Posted: Tue Jan 01, 2013 11:35 pm
I'm using https://github.com/Kadoba/Advanced-Tiled-Loader/wiki to handle map loading from Tiled, but I'm having difficulty getting the coordinates of individual tiles.
I had planned to iterate through every tile and check forbut I can't pull the tile.x or tile.y coordinates from the class.
How do I grab the tile coordinates.. or is there a better way of handling collision using ATL?
I had planned to iterate through every tile and check for
Code: Select all
if tile.properties.solid == true and tile.x >= (etc..)
How do I grab the tile coordinates.. or is there a better way of handling collision using ATL?