How To Mask a Sprite with Cocos2D 2.0 | Ray Wenderlich

In the previous tutorial, we showed you how to mask a sprite with Cocos2D 1.0. This method worked OK, but it had some drawbacks – it bloated our texture memory and had a performance hit for the drawing. But with Cocos2D 2.0 and OpenGL ES 2.0, we can do this much more efficiently by writing […]


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4428/how-to-mask-a-sprite-with-cocos2d-2-0