Sounds like you want to do some masking. You'll need to create two sprites for everything you want to mask.
The first sprite is the mask. All of the colored areas in your sprite should be drawn as white in the mask. The rest should just be black. If I'm not mistaken, for screen 13 in QB, you need to use 255 for the black part of the mask, and 31 for the white.
Then you have the sprite...
Store them both in an array using...
Then, to do the actual masking, you need to put the mask first using AND, then put the actual sprite using OR.
Like this...
Code:
Put(0,0),MaskArr(0),And
Put(0,0),SpritArr(0),OR
This will draw over the pixels without distorting the sprite, but it will erase the background underneath the colored areas in the sprite. Sorry, but if you want to see the background, you still have to redraw it, no matter what.
It's been a while, so anyone please fix it if I've done something wrong. :lol:
EDIT: Damn, I think I just went over something that has already been explained...again! :roll: