Sprite Palette
From TTWiki
Introduction
Locomotion graphics are palette-based. This means that when encoding your PNG files, the actual colours are ignored, only the index in the 256 colour palette matters, so you must ensure that the PNG uses the right palette, and that you're using the right colours of that palette.
Making PNGs with the right palette
(to be written by someone who knows how this works)
Palette entries
This is a list of palette entries and what they look like in the game:
Index | Meaning | Description |
---|---|---|
0 | regular transparency | used for transparent pixels that are part of the object |
1 | black | solid black |
2-6 | (reserved) | These colours are used by some Locomotion sprites, they appear to come out black |
7-9, 246-254 | Primary company colour shades | These colours will be replaced by the selected primary company colour |
202-213 | Secondary company colour shades | These colours will be replaced by the selected secondary company colour |
255 | chunked transparency | used for pixels that are not part of the object; only valid if the sprite tag has the "chunked" bit set |