Determine if Sprite Rotated 360 Degrees - Cocos2d?

Cocos2d can take rotations more than 360. But if your going left and right then its a bit more complicated than just checking if sprite. Rotation == 1080 .

If the rotation is happening on your touchesMoved method then what you should do is that you should record your highest rotation (rotation in right maybe) and lowest rotation (the other way) and then the difference should be bigger than 360*3. So add 2 class vars to your G layer float maxRot,minRot.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions