Community

SCI Programming => SCI Syntax Help => Topic started by: gumby on September 14, 2017, 07:29:46 PM

Title: SCI 1.1 view palettes
Post by: gumby on September 14, 2017, 07:29:46 PM
So I'm starting to create views for my rooms.  I discovered pretty quickly that they tend to stand out because of the limited colors when creating a view.  The views I'm creating are specific to individual rooms, so conflicting palettes shouldn't be a problem. 

I suspect I can get around this by building an embedded palette? I found the 'Import' option in the palette editor, not sure how to use it - is there a way to import the palette from the corresponding PIC resource?

EDIT:  Never mind, found it.  Just open the PIC, go to the palette and export the .pal.  Then just import it into the view.  Nice.
Title: Re: SCI 1.1 view palettes
Post by: Kawa on September 14, 2017, 09:09:19 PM
Mind you, views' embedded palettes will overrule pics' so if, like me, you replace a pic and its palette changes, the views will force the older palette until they too are updated.

Personally, I prefer to save pics' palettes as pal resources instead of .pal files, and just select them in the view editor. This should prevent the above thing with the old palette.
Title: Re: SCI 1.1 view palettes
Post by: gumby on September 15, 2017, 09:12:42 AM
Thanks, that does seem cleaner to create a palette resource and keep it inside the game.
Title: Re: SCI 1.1 view palettes
Post by: Kawa on September 15, 2017, 12:04:06 PM
I delete them before packing up a release, leaving only 999.pal and whatever I actually need to load in-game. Which so far means I only keep 999.pal :P

This being a manual operation, it's very easy to forget to do and my demos may or may not contain views with embedded palettes and/or more pals than just 999.