Graphics, Characters, Text & Rooms: Difference between revisions
Graphics, Characters, Text & Rooms (view source)
Revision as of 02:20, 1 December 2005
, 1 December 2005→Getting an AGS palette code from an RGB colour value
Line 340: | Line 340: | ||
rawcol = (r1 * 2048) + (g1 * 64) + (b1); | rawcol = (r1 * 2048) + (g1 * 64) + (b1); | ||
'''<u>WARNING | '''<u>WARNING</u>: You would think that, under this scheme, that colours 0 through 31 would be shades of pure blue. However, AGS also uses the original 256-colour DOS color scheme for 0-31. 16-31 are shades of gray, while 0-15 are listed below:''' | ||
# Black | # Black | ||
# Dark Blue | # Dark Blue |