Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: rich on Tue 22/03/2005 22:06:26

Title: Global Color Palette Issues
Post by: rich on Tue 22/03/2005 22:06:26
I looked through all the posts and faqs, but found no solutions for this.
I'm creating a custom palette for what I want to be a 256 color game. I created a set of about 30 colors in photoshop, but now I can't seem to get them into my game! I created both a .pal file and a .pcx file. The pal file gives a strange error message if I try to import it. If I try to import the .pcx file then it just turns all the colors I have selected in the palette to black (0,0,0). Now, I've noticed that the AGS palette has a range of 0..63 for each color where the colors I created had a range of 0...255, but I figured it would just find the closest working color, not black!
Please help, I don't want to manually figure out each color in the AGS palette, and I am not interested in doing a 16-bit color game. The file will just be way to be big.

Thanks!
Rich
Title: Re: Global Color Palette Issues
Post by: MrColossal on Wed 23/03/2005 00:48:42
Hey there, I have been making a 256 colour game for a long time now and have many tricks up my sleeve

try this:

take the PCX, load it as a background, go to the palette editor, unlock all slots, relock all slots that don't have any of your colours in them. That works for me.

Eric