Graphics Component - drawImage Support
Cocos
MAY 15, 2023
Now, I roughly got the idea of you what you were saying. Since it’s for a drawing board app / coloring app, whenever the user changes the coloring tool (not solid colors, they will be images) we will have to create a new node with mask? As in the video above, when the user selects Gold texture and paints somewhere, then we create a new node with gold then, when the user selects Black Leather texture, we create a new node then, when the user switches back to Gold, we can’t reuse the previous node
Let's personalize your content