HowToAddItemsStendhal: Difference between revisions
Content deleted Content added
imported>Kymara correct the registering of items, the file is not called GameObjects any more. |
imported>Kymara →Add GFX: correct where to look for graphics specifications for items |
||
Line 101:
Now place the 32x32 sprite in the folder '''data/sprites/items/<class>/<subclass>.png'''
See also [[
If you want your item image animated (like money) simply make 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.
| |||