delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/26/13:18:37

From: "George Kinney" <goober AT mail DOT net>
Subject: Re: palette & Allegro
Newsgroups: comp.os.msdos.djgpp
References: <33d76086 DOT 0 AT 131 DOT 162 DOT 2 DOT 91> <01bc9861$3297f380$f0b0f482 AT marcus>
Organization: The Unknown Programmers
Message-ID: <01bc9896$7b4a1420$f28033cf@pentium>
NNTP-Posting-Host: 207.51.128.242
Date: 25 Jul 97 00:52:58 GMT
Lines: 28
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> Andrew Cheyne <006809c AT news DOT acadiau DOT ca> skrev i inlägg
> <33d76086 DOT 0 AT 131 DOT 162 DOT 2 DOT 91>...
> >    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 

I think I know what you are talking about.  You want to make sure 
all of the sprites are using the same palette, right?

The easiest way to do this is to take all of them, and paste them onto
a single image.  Then dither down the resulting image to the desired
palette size. (This way you will get a palette that is closer to 
optimal for all of them)

Then you can load up the big file into grabber, and pick it apart into
the original sprites, or you can do this with PSP too.

The higher the color depth the sprites start out at, the better the results

will be.

Anyways, hope it helps.

--------------
George Kinney
gkinney (AT) usa (DOT) net

- Raw text -


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