Hats.wiki
changeset 1129 8d4ef9a49b08
parent 1128 311601be3e2f
child 1130 216ffcca9ede
equal deleted inserted replaced
1128:311601be3e2f 1129:8d4ef9a49b08
    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 those hats currently have no proper preview images.
    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]).
    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