Greetings,
I ran across something regarding flipX (and flipY, I believe) in Cocos2d 0.9 alpha. I tried to follow along with the changes/additions to the flip functionality, but I am honestly a little lost as to whether what I am seeing is related to the issues/changes made since cocos2d 0.9 aplha
Anyway, I am using spritesheets (non-Zwoptex) and it appears that when I create an Animation sequence of more than one frame the flip seems to work properly (ie: the frames are flipped). However, if I have an Animation of a single frame (granted one frame animation is a little bizarre) the flip is effectively ignored.
To test this theory, I have tried just creating an extra frame in the single frame animation (just adding .001 to the x and y coords to fool the cache to not use the same frame pointer) and it makes the issue go away. So at this point I am fairly certain that animations of 1 frame are having the flip property ignored, but animation of > 1 frame seem to flip correctly.
BTW, I checked the code in cocos2d 0.9 alpha and it seems to reflect the original state as described by Hactar in the previous post. Has anyone seen this issue?
Also, I could try recreating the issue in the sprite sample code in the cocos2d 0.9 alpha testbed, but I wasn't sure if that would really help clarify anything since it seems alot of changes have been made since then to the flipX/flipY functionality.
Any help or info would be appreciated.
Regards,
Q