I used this example to create my own 2D map and it worked like a charm , but now I want my player to collide with certain tiles and I have no idea how doing it. How to determine the tiles position, size, type ect… from the spriteMap ? How to tell my player you can go through this tile but not this one ?