2D Toolkit Forum

2D Toolkit => Support => Topic started by: ShabihK on December 07, 2016, 10:37:54 am

Title: Detection of empty sprites of a tilesheet
Post by: ShabihK on December 07, 2016, 10:37:54 am
Hi,

I'm working on a procedural rooms generation algorithm and I'm using the tk2dTileMaps. The problem is that I have different rules depending on whether a group of tiles exists in the Tileset or not. For example, if I have a slope with rails I'm gonna use a different set of tiles from a slope without rails (and different rules too).
The question is: Can I detect from the atlas empty tiles?

Thank you very much!