Hats.wiki
changeset 1980 c46ebe308440
parent 1419 b47b108c9885
child 2133 7c41b63e00aa
equal deleted inserted replaced
1979:ee5aa6812f52 1980:c46ebe308440
    15 
    15 
    16 In the default Hedgewars installation, most hats are normal hats, and many hats are animated.
    16 In the default Hedgewars installation, most hats are normal hats, and many hats are animated.
    17 Examples for team hats in the default Hedgewars installation are `cap_team` and `hair_team`.
    17 Examples for team hats in the default Hedgewars installation are `cap_team` and `hair_team`.
    18 
    18 
    19 == Data structure ==
    19 == Data structure ==
    20 Hats are specified as PNG files with alpha channel.
    20 Hats are specified as PNG files with alpha channel (transparency).
    21 They consist of a set of sub-images of a size 32px×32px each.
    21 They consist of a set of sub-images of a size 32px×32px each.
    22 Hedgewars counts the sub-images, or animation frames, from top-left to
    22 Hedgewars counts the sub-images, or animation frames, from top-left to
    23 bottom-left, then it goes on with the next column, etc.
    23 bottom-left, then it goes on with the next column, etc.
    24 
    24 
    25 === Static normal hats ===
    25 === Static normal hats ===