Mask, Texture Rendering & Brush

Mask, Texture Rendering & Brush


Hello everyone,

Is there a way to implement something like this?

I want to make something similar to to scratch card and the example above is a perfect example for me.

I am using the Cocos Creator 2.0.5


Here a sample may be help you!


creator can implement this feature.
but you need to customize the mask component.
the mask used a graphics to realize that feature,so you can customize the graphics and implement the feature that masked by touch.