[cocos2d]CCMoveTo 座標を移動させる

CCSpriteなどの座標を移動させる方法です。

CCMoveTo,CCRotateToなどがあり、FlashのTweenクラスのようなものです。
CCSpriteを今の座標から110.0,110.0へイーズインアウトで移動させる時

CCSprite*sp=[CCSprite spriteWithFile:@"sc02.png"];
[self addChild:sp];
id moveto=[CCMoveTo actionWithDuration:0.4 position:ccp(110.0,110.0)];
id ease=[CCEaseInOut actionWithAction:moveto rate:2.0];
[sp runAction:ease];

止める時

[sp stopAllActions];

参考サイト
cocos2d for iPhone: Class List