Cocos2d: Invert a texture, display the mirror image?

228 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 answers

2
Vervatovskis On BEST ANSWER

I found the solution

aSprite.flipX = YES;