Hey in my game I'm having people walk across the screen and occasionally create the illusion that they are walking into the distance (into the screen). In order to do this, I need to adjust the z-order of images so that things further back have a lower z-order.
The problem is I'm trying to do this for about 30 sprites once a frame (at 30 fps). I tried using reorder child on the parent node, but it was way too slow.
Is there a better way of doing this?