#1218 - grumpycat - Wed Jan 15, 2003 7:29 pm
Hi. Can someone tell me what the "backdrop" is in the REG_BLDMOD register?
BG0 - BG3 is clear, but "backdrop"? What is that? Is it simply the empty solid color that is shown if, for example, all the BGs are disabled?
Thanks.
Grumpy.
#1225 - Splam - Wed Jan 15, 2003 8:39 pm
afaik yeah it's just the backgdrop colour as you described it. Then if only one BG is turned on you can still use the effects with it and the backdrop colour.
#1231 - tepples - Wed Jan 15, 2003 8:59 pm
grumpycat wrote: |
Hi. Can someone tell me what the "backdrop" is in the REG_BLDMOD register?
BG0 - BG3 is clear, but "backdrop"? What is that? Is it simply the empty solid color that is shown if, for example, all the BGs are disabled? |
The backdrop, called by some coders the "sky" after its use in 8- and 16-bit games, is any area of the screen not covered by a non-transparent pixel in an active background or sprite in modes 0, 1, 2, and 4. It is drawn in color 0, and you can blend against it.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#1232 - grumpycat - Wed Jan 15, 2003 9:01 pm
Thanks guys.
Grumpy.
#1282 - Quirky - Thu Jan 16, 2003 9:22 am
Yep - as mentioned it is a background full of colour 0. It's what's shown when you do a fade out or don't set a background.
Remember to set colour 0 to black in your code (if you're doing fades) otherwise it will stay at whatever colour the boot menu sets it too, if you're running via the flash card boot menu. I've had screens "fading" to blue before now :)