Mask, Texture Rendering & Brush

Mask, Texture Rendering & Brush
0

#1

Hello everyone,

Is there a way to implement something like this?
https://pixijs.io/examples/#/demos/mask-render-texture.js

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


#2

Here a sample may be help you!


#3

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.