256 Colour Tutorial Part 1(V2.62): Difference between revisions

m
Line 12: Line 12:
When you start a new game in the AGS editor, by default, it will be a 256 colour one (unless you have it changed by clicking the "'''Change game colour depth'''" button in the '''Palette editor'''). Now go to the '''Palette''' editor, you'll see the default set of palette colours:
When you start a new game in the AGS editor, by default, it will be a 256 colour one (unless you have it changed by clicking the "'''Change game colour depth'''" button in the '''Palette editor'''). Now go to the '''Palette''' editor, you'll see the default set of palette colours:


[[Image:8bittut_basepal.png]]
[[Image:8bittut_basepal.png|center|The default AGS palette]]


There are a total of '''256''' usable colour slots (slot #0 through slot #255), you may also notice that there is a letter "'''L'''" on each of the first 17 colour slots (slot #0 through #16), it means that these slots are "'''locked'''" by the editor, so you should ''leave them unchanged through-out the whole game'' (actually you ''can'' change their values in-game, but this is not advisable, as they're mainly used for system graphics/messages/etc., moreover, without messing with them, you still have full control of 239 colours). Slot #17 through slot #41 are assigned as ''sprite colours'' by default, you can just leave them alone, or if you don't like them, you can change them to suit your needs. The remaining 214 colours (slot #42 through #255) are "'''room dependent'''" by default, so their values can be different in different rooms (mainly used for room backgrounds), as shown by the big "'''X'''" on each of these slots.
There are a total of '''256''' usable colour slots (slot #0 through slot #255), you may also notice that there is a letter "'''L'''" on each of the first 17 colour slots (slot #0 through #16), it means that these slots are "'''locked'''" by the editor, so you should ''leave them unchanged through-out the whole game'' (actually you ''can'' change their values in-game, but this is not advisable, as they're mainly used for system graphics/messages/etc., moreover, without messing with them, you still have full control of 239 colours). Slot #17 through slot #41 are assigned as ''sprite colours'' by default, you can just leave them alone, or if you don't like them, you can change them to suit your needs. The remaining 214 colours (slot #42 through #255) are "'''room dependent'''" by default, so their values can be different in different rooms (mainly used for room backgrounds), as shown by the big "'''X'''" on each of these slots.