From: G DOT DegliEsposti AT ads DOT it To: dcyang AT uclink4 DOT berkeley DOT edu cc: djgpp AT delorie DOT com Message-ID: Date: Wed, 20 May 1998 11:46:46 +0200 Subject: Re: allegro - sprites and the data file Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Precedence: bulk >i guess i need to know how to make all the sprites use the same >palette, and not just the same colors... and also, my sprites right today I downloaded a utility I found on the Allegro web page. I still have not looked at it, so I can't say if it exactly fits your need. This is the url: http://www.step.sk/marian/fixpal.htm >currently display as an entire box - the docs (yes, i've read them >:-)) Good choice! :-) >indicate that masked areas are to be of color 0 in the index. >does this mean that i should put some random color i never intend to >use in my program into the 0 position, and color in the masked areas >with it? Exactly. The most used color for index 0 is black, but you'd better use another one. If you use bright magenta you will have some similarities with true color images (for which allegro uses that color as transparent). >obvious i have little idea what i am talking about, but i'd like to >think that that's because i just started fooling around with allegro a >few days ago. :-) i suspect i'm doing this whole palette/sprite >editing thing the wrong way, so if someone can tell me a better way to >do it, i'd really appreciate it. thanks! Have a look at the Allegro homepage (www.talula.demon.co.uk/allegro IIRC), there are a lot of links to utilities to edit sprites and palettes. ciao Giacomo