Another code sample showcasing the animation system:
Code:
// we want to animate the jupiter-image that was created above
SPTween *tween = [SPTween tweenWithTarget:jupiter time:5.0f transition:SP_TRANSITION_EASE_IN];
// you can animate any property as long as it's numeric (float, double, int).
// it is animated from it's current value to a target value.
[tween animateProperty:@"x" targetValue:310];
[tween animateProperty:@"scaleY" targetValue:0.5];
[tween animateProperty:@"rotation" targetValue:PI_HALF];
// the so-called "juggler" will carry out the tween for you.
[self.stage.juggler addObject:tween];