StendhalRefactoringGraphics: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
add navigation for contributors
imported>Kiheru
Items: added an example of an animated item
Line 52: Line 52:
* Items have a white or black border of 1 pixel unless there is a good reason not to add it
* Items have a white or black border of 1 pixel unless there is a good reason not to add it
* A non animated item should have a 32x32 pixel sprite
* A non animated item should have a 32x32 pixel sprite
* An animated item (like money) should have a 32N x 32 sprite. E.g. if it has 5 frames in the animation it will be a 160 x 32 sprite. It will automatically appear animated
* An animated item (like money) should have a 32N x 32 sprite. E.g. if it has 4 frames in the animation it will be a 128 x 32 sprite. It will automatically appear animated
For example: [[File:Mainio_cloak.png]]
* Items go in the folder data/sprites/items/<class>/<subclass>.png
* Items go in the folder data/sprites/items/<class>/<subclass>.png