can a sprite be added in between two tmx layers of a single tmx map?
a question about z-order.
A fast, easy to use, free, and community supported 2D game engine
can a sprite be added in between two tmx layers of a single tmx map?
a question about z-order.
yes, add the sprite as a child of the map.
So a tmx map can have children who are not tmx in nature? i.e. atlasprite or sprite?
I've used both types, the only time I had a problem was when I called the layerNamed method because it goes through all its children assuming they are layers. If you add sprites then they won't be and will throw a bad access.
ah. hmm. oh thank you so much!
You must log in to post.