Pretty new to cocos and objective-c, but I was wondering if cocos has the capabilities to flip the sprite on either the X or Y axis? I am looking through the documentation, but so far I haven't seen any methods that would do that, or I am just really blind.
Flipping a Sprite?
(3 posts) (2 voices)-
Posted 2 years ago #
-
you can achieve the same result by scaling x by -1 or scaling y by -1.
Posted 2 years ago # -
Ah, thanks riq. I never would have figured that one out ;x
Posted 2 years ago #
Reply
You must log in to post.