how can i clip/crop/mask or just set the frame of a CCSprite in Cocos2D?
Something similar to: setting the frame for UIView, with clipping subviews = TRUE
My
I wrote a ClippingNode class which does exactly that. You can add other nodes (sprites, labels, etc.) to the ClippingNode and they will only be drawn in the region specified by the ClippingNode. It also takes device rotation into account.
Internally it uses GL_SCISSOR_TEST like in Bach's answer.
http://www.learn-cocos2d.com/2011/01/cocos2d-gem-clippingnode/