Stratagus Palette Documentation


General Palette

Stratagus graphics use a 256 color palette. Although the palette may be different for all images, it is recommended to use a shared one to save memory.

To see color indices, open the 'Indexed Palette' dialog in gimp.

Some colors are fixed for specific usage as follows:

NOTE: the cycling applies to all images, eg, the building cycling occurs for icons as well. The color cycling can be configured from ccl eg, by editing the "(set-color-water-cycle-start! 38)" line you can set the start for the water cycling.

Global Palette

The tileset palette is used as a general palette for purposes such as line-drawing. The following color indices are used in addition to the fixed colors described above and should be taken into account when creating a tileset:

A sample palette, stratagus.gimp, is included. If unsure please use this.


(C) Copyright 1998-2003 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.