Ok, thanks! Does that add a significant amount of overhead? On Mon, Dec 19, 2011 at 10:17 PM, Richard Jones <[email protected]>wrote:
> On 20 December 2011 13:21, Joseph Marlin <[email protected]> > wrote: > > I decided to make a nice isometric viewer. I am getting a strange issue > > where two cubes, always exactly two cubes, are not being drawn > correctly. I > > cannot tell why, and I cannot tell if this is a bug with cocos, a bug > with > > python, an error with my code, or intended behavior. Are all elements in > a > > layer guaranteed to be drawn in the order they are added? > > No, they're not. To guarantee drawing order you should set z value > when you add the sprite to the layer. > > > Richard > > -- > You received this message because you are subscribed to the Google Groups > "cocos2d discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/cocos-discuss?hl=en. > > -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en.
