2D Toolkit Forum
2D Toolkit => Support => Topic started by: Maserat on October 29, 2012, 12:07:24 am
-
I have three animated sprites sitting on top of each other for different animations - all with the same transform coordinates. In the simulator, when I toggle the alpha using new Color, the different sprites yield a proper animation. However when I play the animations on my iPod one of the three sprites never turns invisible. Should I be using something else besides new Color and change the alpha? Is this a 2dtoolkit error or an error in my code?
-
If they have the same z coordinates, the order in which they will be drawn is not guaranteed. Try offsetting them in z in the order you wish to draw them - you will probably get better results then.