05-13-2003, 08:16 AM
Quote:It is also a good practice to have say 128 colours for sprites and 128 colours for backdrops. That way you can reuse sprites and reuse background tiles just changing a bit the palette.
I don't think our friend will be dealing with backdrops anytime soon... particularly with his intention of staying lib-free. (Honourable, of course, but there's no speed to be had in a pureQB transparent PUT)
Half for background, half for sprites? Hmm... I prefer a consistent palette... But if you insist on dynamic, I'd go with the JJ2 solution: Have the first ~32 colours reserved for characters, pickups, and text, and then allow the tile libraries to completely rewrite the rest of the palette for their specific level.
Of course, in a fighter, it might be more appropriate to just have 16 colours reserved for the interface and then give each character 100 colours to play with...