I don´t understand, I absolutely cannot get this to work, I want a sequence of actions that plays an animation and moves the sprite using the CCAnimate
ans CCMoveTo
classes. Is there a bug or something special about these classes, cause it will not move nor animate when stringing it together in a CCSequence of actions like this.
action = [CCSequence actions:
[CCMoveTo actionWithDuration:moveDuration position:touchLocation],
[CCAnimate actionWithAnimation:self.walkingAnim],
[CCCallFunc actionWithTarget:self selector:@selector(objectMoveEnded)], nil];
[self runAction:action];
I