33 To create the final image, Hedgewars will use the right base image and use the colored right part of the image and simply overlay it on the left image. |
33 To create the final image, Hedgewars will use the right base image and use the colored right part of the image and simply overlay it on the left image. |
34 |
34 |
35 === Animated normal hats === |
35 === Animated normal hats === |
36 Animated normal hats use an image of a total size of 64px×512px. Only the first |
36 Animated normal hats use an image of a total size of 64px×512px. Only the first |
37 19 frames are used, the remainder of the image is unused. It is best to keep the unused area transparent. |
37 19 frames are used, the remainder of the image is unused. It is best to keep the unused area transparent. |
|
38 |
|
39 For animated hats, we highly recommend the use of the template (see below). |
38 |
40 |
39 === Animated team hats === |
41 === Animated team hats === |
40 Animated team hats use an image of a total size of 128px×512px. This image is similar to that of animated normal hats, the same pattern is repeated 64 pixels to the right. |
42 Animated team hats use an image of a total size of 128px×512px. This image is similar to that of animated normal hats, the same pattern is repeated 64 pixels to the right. |
41 |
43 |
42 The team hat image consists of two “halves”: The left half is the base coloring of the helmet, the right half should _only_ use grayscale colors. The left part may be completely blank. So you have basically two sets of helmet animations. Again, both animations have exactly 19 frames, the remainder is unused. |
44 The team hat image consists of two “halves”: The left half is the base coloring of the helmet, the right half should _only_ use grayscale colors. The left part may be completely blank. So you have basically two sets of helmet animations. Again, both animations have exactly 19 frames, the remainder is unused. |
101 |
103 |
102 |
104 |
103 == Templates == |
105 == Templates == |
104 For your convenience, we have created some templates to ease the creation of hats to help you to align the hats pixel-perfectly. You can use them as background layer to help you align your hats. |
106 For your convenience, we have created some templates to ease the creation of hats to help you to align the hats pixel-perfectly. You can use them as background layer to help you align your hats. |
105 |
107 |
106 * Static normal hat: [https://www.hedgewars.org/images/Static_Hat_Template.png Static_Hat_Template.png] |
108 * Static normal hat: [https://www.hedgewars.org/images/Static_Hat_Template.png Static_Hat_Template.png] |
107 * Static team hat: [https://www.hedgewars.org/images/Static_Team_Hat_Template.png Static_Team_Hat_Template.png] |
109 * Static team hat: [https://www.hedgewars.org/images/Static_Team_Hat_Template.png Static_Team_Hat_Template.png] |
108 * Animated normal hat: [https://www.hedgewars.org/images/Hat_Template.png Hat_Template.png] |
110 * Animated normal hat: [https://www.hedgewars.org/images/Hat_Template.png Hat_Template.png] |
109 * Animated team hat: [https://www.hedgewars.org/images/Team_Hat_Template.png Team_Hat_Template.png] |
111 * Animated team hat: [https://www.hedgewars.org/images/Team_Hat_Template.png Team_Hat_Template.png] |
110 |
112 |
111 For GIMP users, we also have XCF files with layers for your convenience: |
113 For GIMP users, we also have XCF files with layers for your convenience: |
112 * Animated normal hat: [https://www.hedgewars.org/images/Hat_Template.xcf Hat_Template.xcf] |
114 * Animated normal hat: [https://www.hedgewars.org/images/Hat_Template.xcf Hat_Template.xcf] |
113 * Animated team hat: [https://www.hedgewars.org/images/Team_Hat_Template.xcf Team_Hat_Template.xcf] |
115 * Animated team hat: [https://www.hedgewars.org/images/Team_Hat_Template.xcf Team_Hat_Template.xcf] |
114 |
116 |
115 === Quick explanation === |
117 === Quick explanation === |
116 You can use these images as a background layer. They show 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. |
118 You can use these images as a background layer. They show 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. |
117 |
119 |
118 == Sharing hats == |
120 == Sharing hats == |