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 > Can put BG into transparence?

#8534 - tangl_99 - Sun Jul 13, 2003 4:53 am

I know OBJ can be put into transparence.
I know the first color in palette is the Transparent Color.

But, What is the Transparent Color in BG?

Thanks !

#8535 - tepples - Sun Jul 13, 2003 5:47 am

tangl_99 wrote:
But, What is the Transparent Color in BG?

For backgrounds in indexed color modes (0, 1, 2, and 4), color 0 is transparent, and entry 0 in the palette controls what "sky" color appears behind everything else. However, there seems to be no way to send a sprite behind the background in 15-bit RGB modes (3 and 5).
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.