Tagged Questions
1
vote
1answer
926 views
Smooth animation in Cocos2d for iOS
I move a simple CCSprite around the screen of an iOS device using this code:
[self schedule:@selector(update:) interval:0.0167];
- (void) update:(ccTime) delta {
CGPoint currPos = self.position;
...