StendhalRefactoringGraphics: Difference between revisions
Content deleted Content added
imported>Oslsachem →Creatures, outfits and items: some rewording |
imported>Oslsachem added some links |
||
Line 72:
== NPCs ==
The sprites used for NPCs are in [http://arianne.cvs.sourceforge.net/viewvc/arianne/stendhal/data/sprites/npc/
The specification are the same as creatures, above.
== Outfits ==
Players can have hair, face, body and dress. These are saved separately so outfits can be mixed and matched.
We use http://charas-project.net:
*The medium charsets
*Selecting just one layer to save.
As with creatures (above) the original size is too small and the saved png must be converted.
== Items ==
''' Specification '''
The sprites used for items are in the [http://arianne.cvs.sourceforge.net/viewvc/arianne/stendhal/data/sprites/items/ data/sprites/items/] directory in the stendhal source.
* 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
* An animated item (like [http://arianne.cvs.sourceforge.net/viewvc/arianne/stendhal/data/sprites/items/money/gold.png 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
Line 98 ⟶ 106:
'''Specification '''
The sprites used for corpses are in the [http://arianne.cvs.sourceforge.net/viewvc/arianne/stendhal/data/sprites/corpse/ data/sprites/corpse] directory.
* Images dimensions should be a multiple of 32, the size should depend on the [http://arianne.cvs.sourceforge.net/viewvc/arianne/stendhal/data/sprites/monsters/ creature
* Corpses don't need to be square, rectangular shapes would work too
| |||