Graal bodies support five customizable colors. You can apply them to any part of your body file and use as many or as few as you like. To make them work in-game, the colors must occupy specific positions in your body's palette. This is called indexing.
Body Color Indexing
Graal reserves the first seven positions of an 8-bit color palette:
- 0Outline
- 1Belt
- 2Transparency
- 3Shoes
- 4Sleeves
- 5Skin
- 6Coat
The actual colors do not matter, only their positions. The names correspond to Graal's color settings, but you can use them however you like. For example, the sleeves setting could change a pattern on someone's shirt. Although there is no in-game outline setting, index 0 remains reserved for it.
Colors from index 7 onward remain unchanged in-game. Use these for any parts of your artwork you want to keep as drawn.
In Your Editor
Aseprite
- Open your body and save a working copy.
- Select Sprite > Color Mode > Indexed, if needed.
- Drag palette colors into the positions shown above, adding unused colors for any slots you do not need.
- Use Remap Palette to preserve the artwork's appearance after rearranging the palette.
- Under Sprite > Properties, set the transparent color index to 2, and check that the pixels meant to be transparent use that index.
- Save as an indexed PNG and check the result.
Alternatively, install the Aseprite Graal Body Indexing extension. Select Sprite > Graal Body Indexing... and follow the prompts.
GIMP
- Open your body and save a working copy.
- If the background is transparent, fill it with a unique color and select Image > Flatten Image.
- Select Image > Mode > Indexed, without dithering.
- Open Windows > Dockable Dialogs > Colormap to inspect the palette and add any missing placeholder colors.
- Select Colors > Map > Rearrange Colormap and arrange the colors, placing your background color at index 2.
- Export as a PNG and check the palette.
Photoshop
Photoshop supports indexed color through Image > Mode > Indexed Color, with palette editing available under Image > Mode > Color Table.
The finished palette must follow Graal's required order.
The Easiest Way
Body Indexer handles everything automatically, regardless of which graphics editor you use.
- Add one or more bodies to the tool.
- Choose which colors should be changeable.
- Download your indexed PNG! Simple!
