Hello Guest

Author Topic: Detection of empty sprites of a tilesheet  (Read 3910 times)

ShabihK

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 9
    • View Profile
Detection of empty sprites of a tilesheet
« 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!