Need help with the color palette.

Started by illbilliam, Tue 11/05/2004 19:46:35

Previous topic - Next topic

illbilliam

Hello, I'm very new to this. I have been reading the tutorials, checking the manual, and searching the threads, but I can't seem to find the answer to my question.
Ã,  Ã,  Ã,  I made a custom palette using the colors from the Paintbuster program (256 optimised),Ã,  But when I import my backgrounds the colors are all wrong. I remember reading about this in the manual but it was under the animated backgrounds topic, so I'm not sure if this is normal or if I have to tweak my palette? Also, when I imported my palette, I noticed some of the colors shifted in tone from the original palette.
I made sure that the colors I used are strictly off the palette and I played around with different parts of the program trying to get it to work, but still to no avail. I'm just not sure. Any help with this is greatly appreciated. Thanks.

Scorpiorus

#1
Hello and welcome to the AGS forums :),

Now back to the problem in question...

QuoteI made a custom palette using the colors from the Paintbuster program (256 optimised),Ã,  But when I import my backgrounds the colors are all wrong.
First, there are two things to check. Open the palette section of the AGS editor and check if you have enough of these X-marked slots in the palette. If you don't, select a bunch of slots and tick the "This color is room-dependent" checkbox. X-slots are particularly reserved for the background images, so you have to have them as many as your most-colour-rich background requires.
The other thing, make sure you use the "Import background" button in the room editor (not the "Import background (exact palette)" one).

See if it works and let us know after ;)


QuoteAlso, when I imported my palette, I noticed some of the colors shifted in tone from the original palette.
Yeah, I guess it's because the original palette you were making has all its RGB components in a range of 0..255. Ags color components' range is 0..63 though. So they get somewhat dithered.

[EDIT]:
<offtopic> Hey, check out my posts count!11!! 1337 ;D

illbilliam

#2
Thanks Scorpiorus (1337, good one ;D). The dithered colors were the root of my problem, so I got that fixed up by creating a very nice custom palette within AGS, so it's all good. Hopefully I will have some artwork in the next few weeks for you all to critique. Thanks again.

Yes, those import background buttons are slightly misleading. I used the regular import button like you said and the background was 98% better, with only a few colors that were off rather than all of them.

Scorpiorus

You are welcome ;)

Quote from: illbilliam on Thu 13/05/2004 06:01:43Yes, those import background buttons are slightly misleading. I used the regular import button like you said and the background was 98% better, with only a few colors that were off rather than all of them.
The exact palette import is introduced in order to keep background image slots ordered in the same sequence they were in the paint program.

SMF spam blocked by CleanTalk