Hats.wiki
changeset 1128 311601be3e2f
parent 1127 87e8bb1e7a29
child 1129 8d4ef9a49b08
equal deleted inserted replaced
1127:87e8bb1e7a29 1128:311601be3e2f
   102 
   102 
   103 == Templates ==
   103 == Templates ==
   104 For your convenience, we have created some templates to ease the creation of hats. You can use them as background layer to help you align your hats.
   104 For your convenience, we have created some templates to ease the creation of hats. You can use them as background layer to help you align your hats.
   105 
   105 
   106 === Static normal hats ===
   106 === Static normal hats ===
   107 Just use the template for animated hats and crop it to the first frame (top left 32×32 pixels).
   107 Just use the template for animated normal hats and crop it to the first frame (top left 32×32 pixels).
   108 
   108 
   109 === Animated normal hats ===
   109 === Animated normal hats ===
   110 A basic PNG template is [https://www.hedgewars.org/images/Hat_Template.png Hat_Template.png]. You can use this image as a background layer. This image shows a colored checkerboard pattern, each field represents an animation frame. The green and red fields are those where the idle hedgehog has an offset of +1px or −1 px (see above). The black fields are the unused frames. In the front, the idle hedgehog can be seen but shifted 5 pixels lower and the 5 lowest pixels cut off.
   110 A basic PNG template is [https://www.hedgewars.org/images/Hat_Template.png Hat_Template.png]. You can use this image as a background layer. This image shows a colored checkerboard pattern, each field represents an animation frame. The green and red fields are those where the idle hedgehog has an offset of +1px or −1 px (see above). The black fields are the unused frames. In the front, the idle hedgehog can be seen but shifted 5 pixels lower and the 5 lowest pixels cut off.
   111 You can use this image to exactly align the hat properly.
   111 You can use this image to exactly align the hat properly.
   112 
   112