Hello, all. I have a dumb problem with sprite rotation. According to documentation, I wrote the next:
id rotateAction = [CCRotateBy actionWithDuration:4 angle:360];
[sprite runAction:rotateAction];
but...nothing. I run the console and get messages:
cocos2d: deallocing <CCRotateBy = 019B1BA0 | Tag = -1>
cocos2d: deallocing <CCRotateBy = 01958460 | Tag = -1>
CCRotateBy instance was deallocing, but visually sprite was not rotated. Can anybody say what happens? Thanks for participation.