CCRotateBy is also very handy when it comes to ever rotating sprites:
CCSprite *halo = [CCSprite spriteWithFile:@"halo.png"]; [halo setOpacity:160]; CCRotateTo * rotRight = [CCRotateBy actionWithDuration:0.5 angle:40.0]; [halo runAction:[CCRepeatForever actionWithAction:rotRight]];
with CCRotateBy action, you never need to think about any angles ...
Zuppa source share