delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/27/21:49:37

From: 006809c AT iceberg DOT acadiau DOT ca (Andrew Cheyne)
Newsgroups: comp.os.msdos.djgpp
Subject: palette & Allegro
Date: 24 Jul 97 14:02:46 GMT
Organization: Hub.Org Public Access Unix Server
Lines: 28
Message-ID: <33d76086.0@131.162.2.91>
NNTP-Posting-Host: iceberg.acadiau.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello..

  I've asked this question before, but perhaps I didn't word it
correctly because I didn't really get the responses I was looking for.

   I am currently developing some sprites for a game I am writing
and am wondering how to manage the palette so that they can
all be shown at the same time as I designed them. How do I get
a constant palette with my sprites? I am creating the sprites in 
POVRay and doing touch up with PAintShop Pro. I have thought of a 
couple of solutions to keep a constant palette between sprites,
but they either seem like a lot of overhead or dont produce the effects
I'm looking for. Someone suggested taking all my sprites and 
pasting them into a true color image in PAintShop and then reducing
the color depth to 256. This works fine to get the sprites using the
same palette and I can even get a palette file from this, but where do
I go from there? Do I have to cut and paste my sprites out of this
one large image to smaller images? If so, will they retain the 
palette I extracted from the larger image?

Thanks,
Andrew

--
           ..  .  .   .   .   .   .  .   .   .   .   .   . . . 
   .      (    Andrew Cheyne   /   006809c AT dragon DOT acadiau DOT ca  ) 
     o  O  (     http://dragon.acadiau.ca/~006809c/           ) 
            (  ..   . .   .  .  .  .  .  ..    .  .   .  .   ) 

- Raw text -


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