I've got a system going where I can load a tilemap when the game begins, and I'm wondering if there's a way to check for all the tiles on it so I can create objects as soon as it opens.
For instance, here:
<img src="http://i.imgur.com/CpCf3O3.png" border="0" />
The tiles with sad faces are supposed to spawn enemies. So what I'm trying to do is:
1. Create the tilemap
2. Check if there are sadface tiles by using the tile number (it's number 9)
3. Create enemies on their X and Y coordinates
4. Erase them
I think the ideal thing was to have a For Each Tile, but since this isn't implemented, I'm wondering if there's a way to check the X and the Y of the tilemap using regular for..