I need to mask a sprite. I followed this tutorial: http://www.raywenderlich.com/4428/how-to-mask-a-sprite-with-cocos2d-2-0 , however the problem is when I create sprite not from single png file, but from sprite sheet with "initWithSpriteFrameName" method.
The mask file is beying applied to the big sprite sheet's texture, instead of the small sprite's texture.
Any clues how can I fix this?
Cheers, Marcin