Kodeco Forums

How To Mask a Sprite with Cocos2D 1.0

Sometimes in your games you might find it handy to display only a portion of a sprite. One way you can do this is by using a second image called a mask. You set the mask image to be white wherever you want the image to show up – and transparent everywhere else. Then you […]


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

This tutorial is more than six months old so questions are no longer supported at the moment for it. We will update it as soon as possible. Thank you! :]