SHClippedSprite class will allow you to easily clip children (display objects) inside of a sprite. This class inherits all properties from SPSprite and also includes:
@property (nonatomic, readonly) SPQuad *clip; Default properties: clip.x = 0 clip.y = 0 clip.width = 0 clip.height = 0 @property (nonatomic, assign) BOOL clipping; Default value is NO.
(Coming later)
SHClippedSprite *cp = [[SHClippedSprite alloc] init]; cp.clip.x = 5; cp.clip.y = 10; cp.clip.width = 100; cp.clip.height = 80;
#include "SHClippedSprite.h"
#import "SHClippedSprite.h"