I have an image paced on the screen.If the user开发者_如何学JAVA select the eraser and erase the image,it should be erased.How can i do that.
Fake it? Put a sprite same color as the background over it.. Means a layer on top of the previous sprite..
If it is a CCNode subclass (CCSprite for example) call
[myImage removeFromParentAndCleanUp: YES];
精彩评论