Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: After on Sun 12/10/2003 00:41:41

Title: (un)lock palette slots (as per insta-game help)
Post by: After on Sun 12/10/2003 00:41:41
The insta-game manual (KillMe.html) says
QuoteLoad aapalette.pcx (Location: Objects Folder) into AGS as a Background.
Done.
QuoteGo to the palette editor and unlock all the colours. The colours at the bottom of the palette editor are the colours from aapalette.pcx.
I can load over the unlocked slots without any problem.

But all I can determine from the IDE tutorial is that, yes, the first 17 colours are locked, and the remainder are not, just as they appear to be. I have yet to find anything that  changes this.

Resuming quote...
QuoteNow Lock all the colours again except the colours on the bottom and on the top (Only the black squares in between).
I can only hope that this will be clearer when I get to it.

Basically, I'm just trying to assemble a minimally complete environment from which to try things, and insta-game looks like the place to start.
Title: Re:(un)lock palette slots (as per insta-game help)
Post by: Scorpiorus on Tue 14/10/2003 22:55:43
I think there is a misunderstanding about the locked colors. Yes, the first seventeen colors are always locked. The rest are not.

As about Insta-game manual, it means making the slots to be room dependent/independent instead. So, what you just need:

1. Load aapalette.pcx as a background. ok

QuoteGo to the palette editor and unlock all the colours. The colours at the bottom of the palette editor are the colours from aapalette.pcx.
2. Open the palette editor. Select slot numbers 17 through 255 (use Shift key). Next, disable This color is room-dependent option.

QuoteNow Lock all the colours again except the colours on the bottom and on the top (Only the black squares in between).
3. Repeat the previous step selecting all the colors between (they should be black). Then enable This color is room-dependent option again.

~Cheers
Title: Re:(un)lock palette slots (as per insta-game help)
Post by: MrColossal on Wed 15/10/2003 03:42:02
poop, yea my bad, hang on a second..

/me rummages around

http://www.sylpher.com//kafka/tutorials/palette.htm

this clears it up a little

the top part that is
Title: Re:(un)lock palette slots (as per insta-game help)
Post by: After on Wed 15/10/2003 07:03:18
Thanks both of you. The way it decides which slots to use looks like another quirk I'd have to tackle if I ever wanted to do something sophisticated with it.

Unfortunately, my plan for a runnable basis for development will have to wait, as I haven't figured out how to get rid of the scaffolding yet. It looks as though one cannot simply specify resources, but has to import them, and once something's imported, the project is permanently altered to some extent.
Clearly, I'll have some more reading to do before I can actually get started.