delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/19/06:56:30

Message-Id: <9706191056.AA26644@sun4nl.NL.net>
Date: Thu, 19 Jun 1997 13:57:00 +0200
From: Rob den Boer <rob DOT den DOT boer AT derijke DOT nl>
Subject: Palette usage (Allegro)
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>

Hi all ...

I want some suggestions ...

Using Allegro, I have a game with all sorts of animations flying around,   
backgrounds,  the works.

I'm not sure on how to use palette colors. All sprites, pictures need   
colors, very much more than the standard 256 colors. As I see it, there   
are following strategies possible:

1. use just one palette for all pictures, merge them into one.
2. give each picture or frame a fix part out of the 256
3. create a greater virtual palette, and recalculate this to 256, thereby   
   combining mutual colors, finding best match etc.

Do you have any idea's/suggestions?

bibi
Rob den Boer

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019