Cocos2d: Invert a texture, display the mirror image?

186 Views Asked by At

How could I invert a Texture created from an image (I mean display the mirror image), if I have for example a kid rising his left hand I'll get a kid rising his right hand. Thank you.

1

There are 1 best solutions below

2
On BEST ANSWER

I found the solution

aSprite.flipX = YES;