Graves.wiki
author sheepyluva@gmail.com
Tue, 16 Dec 2014 11:09:11 +0000
changeset 510 d6f6ecc3fb4a
parent 446 e79c0817829d
child 662 6ae2337ac487
permissions -rw-r--r--
Edited wiki page TableOfContents through web user interface.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
446
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
     1
#summary A short guide explaing graves and how to create and use them
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
     2
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
     3
= Graves =
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
     4
== Explanation of graves ==
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
     5
Graves are small images which appear when a hedgehog dies. Graves are chosen on a per-team basis. A grave can be either be unanimated or animated. Animated graves can consist of up to 8 frames.
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
     6
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
     7
== Creating graves ==
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
     8
=== Unanimated graves ===
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
     9
To create an unanimated grave, draw a PNG image of size 32×32 pixels. You _can_ use semi-transparency.
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    10
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    11
=== Animated grave ===
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    12
To create an animated grave, first you have to draw 2-8 images of a size of 32×32 pixels each. Those images have to be combined in 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.
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    13
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.
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    14
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    15
Each of these sub-images is a frame in the final grave animation. It starts with the topmost image, continues with the image below, and so on. After the last sub-image, the animation repeats with the first frame.
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    16
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    17
The first image will be also the one which is shown in the team creation menu as preview. The grave will only be animated while in the game.
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    18
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    19
== Installing graves ==
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    20
To install a grave, put it into `Data/Graphics/Graves` of the Hedgewars data directory.
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    21
Make sure the name of your file ends with “`.png”. The displayed name in Hedgewars equals the file name without the suffix.
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    22
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    23
== Limits ==
e79c0817829d Created wiki page about graves.
almikes@aol.com
parents:
diff changeset
    24
Graves are _not_ automatically shared when you play online. Unless the other players have your grave, too, they will only see the default grave (`Statue.png`) for your team instead. The only graves you can be sure are also seen online are the ones supplied by the Hedgewars installation.