I'm wondering if there is any way to achieve the effect of an alpha layer in cocos2d? I have a sprite in the shape of a circle that a want to mask of parts of. I was thinking of making a masking triangle so it appears at i piece of the cirkle is gone.
Is there any way of doing this in cocos2d?