[Solved] iPhone – Sprite Not Showing Up Because Background is Hiding It


As sangony said, this can be done through the node’s zPosition property.

For example, if the background node is called ‘bgNode’ and the sprite is ‘spriteNode’

bgNode.zPosition = 0;
spriteNode.zPosition = 1;

This will render the spriteNode over top of the bgNode. This is assuming they share the same parent node.

0

solved iPhone – Sprite Not Showing Up Because Background is Hiding It