Graves.wiki
changeset 1210 02d09713a6c8
parent 914 2dcdf6a68bd7
child 2048 0b7a5fadc2c8
equal deleted inserted replaced
1209:fac5831027bd 1210:02d09713a6c8
     7 == Creating graves ==
     7 == Creating graves ==
     8 === Unanimated graves ===
     8 === Unanimated graves ===
     9 To create an unanimated grave, draw a PNG image of size 32×32 pixels. You _can_ use semi-transparency.
     9 To create an unanimated grave, draw a PNG image of size 32×32 pixels. You _can_ use semi-transparency.
    10 
    10 
    11 === Animated grave ===
    11 === Animated grave ===
    12 An animated grave can have 2, 4 or 8 frames. In Hedgewars 0.9.23 or later, 16 frames are also possible.
    12 An animated grave can have 2, 4, 8 or 16 frames.
    13 To create an animated grave, first you have to draw one image per frame, 32×32 pixels in size.
    13 To create an animated grave, first you have to draw one image per frame, 32×32 pixels in size.
    14 
    14 
    15 Those images have to be combined to a single image. The width of the final image is alwas 32 pixels, the height is _n_ · 32 pixels, where _n_ is the number of frames (single image in animation) you chose.
    15 Those images have to be combined to a single image. The width of the final image is alwas 32 pixels, the height is _n_ · 32 pixels, where _n_ is the number of frames (single image in animation) you chose.
    16 To combine: The first image is placed at the top, the next image is placed 32 pixels below that, the next one 64 pixels, and so on.
    16 To combine: The first image is placed at the top, the next image is placed 32 pixels below that, the next one 64 pixels, and so on.
    17 
    17