gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > backdrop color unchangeable?

#5841 - marky - Fri May 09, 2003 7:00 pm

Can the backdrop color be something other than black?
If so, how do you switch it? Thanks for the help.
mark

#5843 - niltsair - Fri May 09, 2003 7:08 pm

If in display mode 3 or 5, no, since there's no backdrop proper, just an array of 16bits pixels representing a color (RGB).

In the other mode, when using a palette, just change the color 0 of the palette to what you want. When the mode is using Tile/TileMaps, you need to set the color 0 of the palette used by layer 0 i think.