you can use this to animate a sprite
id animation = [MoveBy actionWithDuration:2.0 position:ccp(-100, 0)]; // Make the animation MoveBy tells the sprite to move "so many pixels" from it's current position
[sprite runAction: animation]; // Tell the stickman to do the animation
though i am looking for animate a spirte sheet (having two images 1 at 0,100 and toher at 10,100)
|