How to add custom Items: Difference between revisions

m slight wording changes, added category
Preparing an Image: clarifying Dungeon Graphics nav
Line 42: Line 42:
A more in-depth example of this is shown below as we extract the colormap for our use.
A more in-depth example of this is shown below as we extract the colormap for our use.


It is recommended to start sprinting with the full colormap imported into your sprite editor, so that there are no issues with the indexes later. The easiest way to get the colormap is to export an existing sprite. As an example, exporting the Stick with the Palette ID set to '''1''' shows this message:
It is recommended to start sprinting with the full colormap imported into your sprite editor, so that there are no issues with the indexes later. The easiest way to get the colormap is to export an existing sprite! Navigate to the '''Dungeon Graphics''' dropdown, and you will see a list of items for ''Tilesets, Backgrounds (used for [[Fixed Room|Fixed Rooms]], with a tutorial on those [[Fixed Room Guide|here]]), Traps, Items, and Color Map.'' The one we are interested in is '''Items'''.
[[File:Item tutorial dungeon graphics nav.png|alt=Screenshot of ST dropdown for Dungeon Graphics, with Item sprites located there|center]]
''Important: The colormap seen in this section is different compared to the one exported with items. Do not use the "Color Map" entry from this dropdown unless you know what you're doing.''


<small>(Note: all ST screenshots are cropped to save space)</small>
Exporting the Stick with the Palette ID set to '''1''' shows this message:[[File:Item tutorial 8 exporting stick.png|alt=Screenshot of Stick sprite with the Palette ID set to 1|center|border]]<small>(Note: all ST screenshots are cropped to save space, the editor does not shrink this much)</small>[[File:Item tutorial 9 export dialog.png|alt=Screenshot of export dialog ("This exports currently selected image with the currently selected palette. image will contain all palettes")|center|border]]
[[File:Item tutorial 8 exporting stick.png|alt=Screenshot of Stick sprite with the Palette ID set to 1|center|border]]
[[File:Item tutorial 9 export dialog.png|alt=Screenshot of export dialog ("This exports currently selected image with the currently selected palette. image will contain all palettes")|center|border]]
This means that the sprite of the Stick will ''look'' brown, but still have the full colormap in its data. Opening the PNG in a sprite editor shows which colors will be used in each variation of the palette. Using an eyedrop tool or color selection mechanic can highlight the index of the brown being used (index 25). Finding the other shades of brown from there gives a point of reference for each row.
This means that the sprite of the Stick will ''look'' brown, but still have the full colormap in its data. Opening the PNG in a sprite editor shows which colors will be used in each variation of the palette. Using an eyedrop tool or color selection mechanic can highlight the index of the brown being used (index 25). Finding the other shades of brown from there gives a point of reference for each row.
[[File:Item tutorial 10 stick index example.png|alt=Screenshot of Stick PNG open in sprite editor, showing which colors share the same columns|center|thumb|408x408px|These 3 colors share the same positions within every palette]]
[[File:Item tutorial 10 stick index example.png|alt=Screenshot of Stick PNG open in sprite editor, showing which colors share the same columns|center|thumb|408x408px|These 3 colors share the same positions within every palette]]