In M.U.G.E.N, a Palette is a set of colours used in a character that defines the appearance of the character in the game. It may also refer to the actual .ACT files stored in the character's directory for this function.
How Palettes WorkEdit
In character creation, M.U.G.E.N only accepts indexed colour sprites. As such, the image is saved in two components - an image file with colour references and a palette file with the table of colours. M.U.G.E.N reads the image, refers to the palette and fills in the right colours for each sprite.
To read transparency, MUGEN takes the last colour of every palette and reads it as the transparent colour. Any part of the image that is supposed to be this colour will be transparent.
As such, through the creation of additional palettes, the look of the character can be changed without needing to re-sprite the character in its entirety.
M.U.G.E.N supports up to 12 palettes per character with up to 256 colours each.
Selecting Different PalettesEdit
To choose different palettes for each character, move the selector over the character at the select screen and push the following buttons to select the corresponding palette:
In the case of a mirror match (same character vs same character), the engine will automatically give the AI a palette that isn't used by the player (unless the character only has one palette). If AI.RandomColor is set to zero, the AI will select the palette colour in the order specified by pal.defaults in the DEF file, but if that palette is in use, it moves on to the next available palette.
Palette-based Triggers and "12p Mode" Edit
M.U.G.E.N is capable of recognising the palette selected by the player through
trigger1 = palno = (some number from 1 to 12 inclusive)
As such, it is possible to trigger some changes to the character when certain palettes are selected. This is how "all in 1" characters are made - certain palettes trigger a variable that turns on certain moves and turns off others, customizing the moveset according to the desired iteration of the character.However, more often, selecting a particular palette, usually (but not limited to) the 12th palette, unlocks new moves and traits in the character for as long as that palette is in use. These usually serve to make the character excessively cheap. When these modes are activated in compatible characters, it is usually said that "12p mode" is enabled.
Examples of characters with 12p mode Edit
- All Guilty Gear's characters
- Ronald McDonald
- Dark Donald (If he wasn't cheap enough already)
- Oni-Miko Reimu
- ALSIEL and related edits (like Devils Eye, EXERION, Mithra, The Black Sun of Alsiel etc).
- G Magaki
- Crazy Catastrophe
- G Orochi verFinal and G Orochi related edits (like Vortex G Orochi, Eruption G Orochi, The Lost Of Wonderful Heaven 2nd etc)
- The End Of God Heaven Orochi
- Holy Kula
- Legend Gold-Metal Orochi
- Dark Athena
- Mind Of Creation And Destruction
- 2nd Death Star
- Ultra Barney
- Hatsune Miku