Thursday, October 6, 2022
HomeGame DevelopmentQuestions in regards to the masks element - Cocos Creator

Questions in regards to the masks element – Cocos Creator


Howdy!
I would like to chop out varied shapes from a texture for puzzle video games. At the moment utilizing Cocos Creator 3.6.0.
Inform me, please, what kind of masks has the least influence on the efficiency of the sport engine?
Want to use GRAPHICS_STENCIL. Tried the instance from Cocos Creator 3.6 Person Handbook->Masks Part Reference, acquired
error: “Error: [Scene] ‘Masks.graphics’ is deprecated, please use ‘Masks.subComp’ as a substitute.”
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 an alternate?
What may be carried out with ‘Masks.subComp’?


RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments