1.21 Hats
- high resolution patterns
- hat templates
- caps and toques (flexible template!)
- new
ABOVE_HAIR
layer
- fixes
- fix removing clothing mods even though clothes didn’t exist
How to hide hair parts
For some hairstyles you’ll want to hide parts of it when wearing a hat.
You can do this by filling out the coverConceal
property such as below:
You can explicitly not cover parts that have converConceal
by setting the noCover
property to true in the
clothing template (for example if you’re making a hair clip).
Cap template
With the cap template, you can either make caps or toques depending on parameter choice.
Fixing low resolution patterns
There were some problems with patterns:
- vertically flipped
- low resolution
The first problem was easy to solve. The second problem was because fill patterns naturally scaled with the drawing context. This meant for a scaling of 3, any pattern was also scaled up, losing a lot of resolution. The resolution was to refactor the Context2DTracked wrapper to scale the input points rather than the canvas.