CCControlExtension icon indicating copy to clipboard operation
CCControlExtension copied to clipboard

Problem with CCControlSwitch

Open grandid opened this issue 11 years ago • 2 comments

Hi, I tried integrating the switch to my own program. However I have a problem with the switch's sprite. The mask, on/off sprites and on/off label are not shown when i compile and run the codes. Cannot seem to figure out what is the error. Anyone can help me? Thanks a lot in advance.

grandid avatar Jul 05 '13 02:07 grandid

@grandid Were you using cocos2d-iphone or cocos2d-x?

dumganhar avatar Jul 05 '13 02:07 dumganhar

Yes. cocos2d-iphone. This is a screenshot of the program and my codes. The vibration switch is suppose to have the mask, on and off sprites/labels, but it is not shown.

screen shot 2013-07-17 at 6 20 37 pm screen shot 2013-07-17 at 6 20 00 pm

screen shot 2013-07-17 at 6 18 12 pm

grandid avatar Jul 17 '13 10:07 grandid