Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Reference Manual for GoldED 2.51 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

     You can change the color palette used in GoldED. The palette has 16
     color registers, corresponding to the  16 colors from black (0)  to
     intense  white  (15).  By  changing  the  values  in  the   palette
     registers, it is possible to make any of the 16 colors a completely
     different color. You can  even make the background  colors intense,
     without using  the intense  color feature.  There are  64 different
     colors to chose from.

     To  configure  the  palette  colors  in  GoldED,  the SCREENPALETTE
     keyword is used. There are two different syntaxes:

         SCREENPALETTE <reg> <value>
         SCREENPALETTE <reg> (red green blue)

     So  you  can  either  compose  the  color value using separate red,
     green, blue components, or directly use a precalculated value.  The
     red/green/blue values can only be in the range 0-3.

     These are the original palette values:

         SCREENPALETTE    0   (0 0 0)
         SCREENPALETTE    1   (0 0 2)
         SCREENPALETTE    2   (0 2 0)
         SCREENPALETTE    3   (0 2 2)
         SCREENPALETTE    4   (2 0 0)
         SCREENPALETTE    5   (2 0 2)
         SCREENPALETTE    6   (2 2 0)
         SCREENPALETTE    7   (2 2 2)
         SCREENPALETTE    8   (0 1 0)
         SCREENPALETTE    9   (1 1 3)
         SCREENPALETTE   10   (1 3 1)
         SCREENPALETTE   11   (1 3 3)
         SCREENPALETTE   12   (3 1 1)
         SCREENPALETTE   13   (3 1 3)
         SCREENPALETTE   14   (3 3 2)
         SCREENPALETTE   15   (3 3 3)

     Copy these lines into your GOLDED.CFG and start experimenting! :-)

     If you  have written  a program  to edit  the palette  and write  a
     GoldED palette setup file, please don't keep it a secret! :-)

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson