Good day!
I want to chop out numerous shapes from a texture for puzzle video games. At present utilizing Cocos Creator 3.6.0.
Inform me, please, what kind of masks has the least impression on the efficiency of the sport engine?
Want to use GRAPHICS_STENCIL. Tried the instance from Cocos Creator 3.6 Consumer Handbook->Masks Part Reference, bought
error: “Error: [Scene] ‘Masks.graphics’ is deprecated, please use ‘Masks.subComp’ as an alternative.”
Visible Studio Code – Property ‘graphics’ doesn’t exist on kind ‘Masks’:
However the masks works!
Will GRAPHICS_STENCIL be supported in future variations of the engine or will there be another?
What could be carried out with ‘Masks.subComp’?
I’ve used “Masks._graphics” in 2.x model, examine if it nonetheless works in 3.x ?
Sure, I wrote that it really works, nevertheless it offers a warning: “Error: [Scene] ‘Masks.graphics’ is deprecated, please use ‘Masks.subComp’ as an alternative.” within the browser and within the Cocos Creator console, in addition to in
Visible Studio Code – “Property ‘graphics’ doesn’t exist on kind ‘Masks’”