Hats.wiki
changeset 1419 b47b108c9885
parent 1203 f2a88f6a92af
child 1980 c46ebe308440
equal deleted inserted replaced
1418:a94fa9bae72c 1419:b47b108c9885
    12 I.e. if a hedgehog plays in a red team, its hat will we red.
    12 I.e. if a hedgehog plays in a red team, its hat will we red.
    13 
    13 
    14 Additionally, hats can be either static or animated.
    14 Additionally, hats can be either static or animated.
    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`. Please note that in 0.9.23, the preview of some team hats in the team editor is broken ([https://issues.hedgewars.org/show_bug.cgi?id=448 bug 448]).
    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.
    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