我有我的精灵旋转,但有点太快了,这是我的代码,知道如何控制旋转速度吗?
//enemySprite
enemySprite = [CCSprite spriteWithFile:@"Asteroid.png"];
enemySprite.anchorPoint = ccp(0.5f, 0.5f);
enemySprite.position = ccp(arc4random()%480, winSize.height -60);
//Rotation
id rotate = [CCRotateBy actionWithDuration:1 angle:360];
id repeatRotate = [CCRepeatForever actionWithAction:rotate];
[enemySprite runAction:repeatRotate];
[self addChild:enemySprite z:5];
[self schedule:@selector(callEveryFrame:)];