StendhalRefactoringGraphics: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
NPCs: Update link to use SourceForge's Git repo instead of CVS
imported>AntumDeluge
Items: Update links to use SF Git instead of CVS
Line 104: Line 104:
''' Specification '''
''' 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.
The sprites used for items are in the [https://sourceforge.net/p/arianne/stendhal/ci/master/tree/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
* 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 [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
* An animated item (like [https://sourceforge.net/p/arianne/stendhal/ci/master/tree/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]]
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