diff -r 216ffcca9ede -r bfaa8cfa4138 Hats.wiki --- a/Hats.wiki Fri Nov 17 05:38:23 2017 +0000 +++ b/Hats.wiki Fri Nov 17 05:39:16 2017 +0000 @@ -36,6 +36,8 @@ Animated normal hats use an image of a total size of 64px×512px. Only the first 19 frames are used, the remainder of the image is unused. It is best to keep the unused area transparent. +For animated hats, we highly recommend the use of the template (see below). + === Animated team hats === 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. @@ -103,14 +105,14 @@ == Templates == 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. -* Static normal hat: [https://www.hedgewars.org/images/Static_Hat_Template.png Static_Hat_Template.png] -* Static team hat: [https://www.hedgewars.org/images/Static_Team_Hat_Template.png Static_Team_Hat_Template.png] -* Animated normal hat: [https://www.hedgewars.org/images/Hat_Template.png Hat_Template.png] -* Animated team hat: [https://www.hedgewars.org/images/Team_Hat_Template.png Team_Hat_Template.png] + * Static normal hat: [https://www.hedgewars.org/images/Static_Hat_Template.png Static_Hat_Template.png] + * Static team hat: [https://www.hedgewars.org/images/Static_Team_Hat_Template.png Static_Team_Hat_Template.png] + * Animated normal hat: [https://www.hedgewars.org/images/Hat_Template.png Hat_Template.png] + * Animated team hat: [https://www.hedgewars.org/images/Team_Hat_Template.png Team_Hat_Template.png] For GIMP users, we also have XCF files with layers for your convenience: -* Animated normal hat: [https://www.hedgewars.org/images/Hat_Template.xcf Hat_Template.xcf] -* Animated team hat: [https://www.hedgewars.org/images/Team_Hat_Template.xcf Team_Hat_Template.xcf] + * Animated normal hat: [https://www.hedgewars.org/images/Hat_Template.xcf Hat_Template.xcf] + * Animated team hat: [https://www.hedgewars.org/images/Team_Hat_Template.xcf Team_Hat_Template.xcf] === Quick explanation === 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.