Hats.wiki
changeset 1134 c67aa9fa2487
parent 1133 b0458918e0c8
child 1135 892e24492895
equal deleted inserted replaced
1133:b0458918e0c8 1134:c67aa9fa2487
    26 These are the simplest hats. It's just a single 32×32 image containing the hat. This image will be put on the hedgehog's head with a vertical offset of 5 pixels.
    26 These are the simplest hats. It's just a single 32×32 image containing the hat. This image will be put on the hedgehog's head with a vertical offset of 5 pixels.
    27 
    27 
    28 That's it!
    28 That's it!
    29 
    29 
    30 === Static team hats ===
    30 === Static team hats ===
    31 This is a 64px×32px image with 2 frames. 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. The same offset of 5 pixels applies here.
    31 This is a 64px×32px image with 2 frames. The left half is the base coloring of the hat, the right half should _only_ use grayscale colors for the parts of the hat for which to use the team colors. The left part may be even completely blank. The same offset of 5 pixels applies here.
    32 
    32 
    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 hat, Hedgewars will first colorize the right part to the team color, then overlay that on top of the left base 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 
    38