Okay, so instead of adding entities through Tiled, I might as well just make a tile which looks like a coin and place it in the map. Then, when I parse the xml in flashpunk, I can just “convert” that tile into a coin. Seems better than using entities and stuff, since they don’t have any icons :S. But how should one go about doing this?
Make objects from xml tiles?
zachwlewis
(Zachary Lewis)
#2
The same way you parse them into tiles.
If your gid
matches the value of a coin, instead of setting a tile in a Tilemap
, add an Entity
to the world.
John_Andersson1
(John Andersson)
#3
My god, that is so true. I didn’t think about the tile gids. Thanks zach, once again