Mail Archives: djgpp/1997/07/24/18:33:51
Andrew Cheyne <006809c AT news DOT acadiau DOT ca> skrev i inlägg
<33d76086 DOT 0 AT 131 DOT 162 DOT 2 DOT 91>...
> 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/ )
> ( .. . . . . . . . .. . . . . )
>
You got a program with allegro called grabber.exe (it should be in the
TOOLS dir).
In the grabber you can cut the big pic up in small pieces and save them as
a dat file.You can also save tha pal and read it from allegro. Check out
the allegro.txt file to see the details.
- Raw text -