How can I do advanced coloring like in this video.
I mean coloring by zone, soft brush, brush shape.
It looks as if a shaded layer initially exists and the brush creates a mask for displaying this layer.
Zones of the picture are predefined because there are options when one zone is in different places of the picture, for example, head, arms and legs.
Then the result of painting is superimposed on the final canvas of the picture.
Do I need to use SVG files for zones? If so, how to use them in phaser 2?
How to give the brush a shape? Because I use a context.lineTo() method that simply draws a line.
How to draw through filling the mask layer?