Is it correct that an atlas sprite manager can only have one defined sprite sheet?
Or is it possible to add other atlas sprites to the same sprite manager?
The reason I'm asking is that I would like the sprites to sometimes overlap each other by z-index, but the z-index of the sprites can change dynamically.
For example, I have a top down view of a level, when a moving char passes behind something, I want their char to appear to be behind the object, however, when they are in front of it, I want them to appear in front of the object.
This seems doable (by re-calculating the moving char's z-index as it moves up or down on Y axis) IF your char is on the same atlas manager since the z-index between the moving and non moving char will be in relation to each other.
The problem lies in that the moving chars will be on a different sprite sheet than the sheet with the objects.
Is the only way around this to put the chars and objects on the same sheet or manager?
Here is an image that may help clarify : http://dev.webclarity.com/guru/z-prob.jpg
Let me know If I'm not being clear enough on my description.
Any guidance you can provide is greatly appreciated!



