Page 1 of 1

Using Multiple Backgrounds

Posted: Sun Mar 06, 2011 10:17 am
by lady_robot
I've been working on this project for a while, and I need to be able to display a black masking background over a tiled background, so that only part of the level beneath is visible. However, I have been unable to use grit to construct a shared palette for the two backgrounds that I have. To make it even more complicated, the tiled level underneath is generated at runtime. Is there some way to coerce grit into producing a palette that will work both for the bitmap that I'm using for the mask and the tiles for the tiled background? As it is, I can't seem to convince grit that it should do so, at least not using the standard template makefile. Should I be using a different grit rule and just adding that to my makefile?

I swear, if it weren't for dealing with graphics, I would like this project a lot more. >_<