Projects > cpp > Issues > Bug #3557

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

ControlSwitch's mask-sprite isn't working if it's part of a texutre sheet

Bug #3557 [Closed]
zilluss 2014-01-01 15:47 . Updated about 2 years ago

When your mask sprite for the ControlSwitch is part of a texture sheet, the masking will not work correctly. One workaround is to save the mask-texture in a separate file.
Another solution is to render the mask sprite to a RenderTexture and use the rendered texture as the mask texture. I have successfully implemented this fix and can commit the patch, after the bug has been confirmed. 2014-10-08 02:53

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to

Atom PDF

Start date:2014-01-01
Due date:
% Done:


Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.