I’m trying to use CCFlipX3D to simulate a flipping card game.
In the game, there are a few cards stacked on top of the other, and once the user touches a point,
they move from that point, and some of them flip.
The problem is that if I use CCFlipX3D for this effect, the flipping cards “goes into” cards below it.
Is there a way to prevent this?
I’ve tried settings the depth of the cards to be different, but this still happens, even if the z order is spaced by more than 1 unit (say 100, 200, 300 etc.. for each card).
Any idea how can I fix this?
Also, is there a way to make the back of a card NOT be the mirror image of it but a different sprite?
Right now I’m using a scale effect (scale X to 0, change sprite frame, then back to 1) to simulate a flip, however the 3D effects will be much nicer to use.
Any idea what is wrong?