Z-sorting?

Z-sorting?
0.0 0

#1

I was wondering if there was a way to Z-sort objects or make it so some objects be rendered before the others.

Also was wondering if I could change these on the fly.

Any information would be great, thanks!


#2

See “addChild (CCNode *pChild, int zOrder)” and “reorderChild (CCNode *pChild, int zOrder)” in CCNode.


#3

Why thank you!

This looks to be what I need.