drock577 started following Selecting all tiles to be with a specific index value
drock577 posted a topic in Phaser 2Hi, I have built a tile map in CSV with Tiled. I want to use all tiles with index value of 18 to run a specific function(such as spawn points, or perk generators). I do have many of these spawn points scattered throughout the map. The game is using P2 physics if that helps. I do not know where to start with this. Thanks!