Mail Archives: djgpp/1997/07/24/18:07:41
Andrew Cheyne (006809c AT news DOT acadiau DOT ca) wrote:
: 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
whoops.. and, since I'm using Allegro, is there any way to load
palette info from a .PAL file directly into a PALETTE array in
Allegro? I know it's not hard to write one, but am just wondering.
I have also tried using the grabber, but it only seems to like
grabbing palettes from imported bitmaps.. although I suppose
I could import my large all-palette image and take the palette
from that.. gotta love how my brain is so slow somedays. :)
Andrew
--
.. . . . . . . . . . . . . . .
. ( Andrew Cheyne / 006809c AT dragon DOT acadiau DOT ca )
o O ( http://dragon.acadiau.ca/~006809c/ )
( .. . . . . . . . .. . . . . )
- Raw text -