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.

Graphics > Background transparency?

#51198 - paladine - Wed Aug 17, 2005 4:00 am

It seems that BG1-3 all support transparency but when I use a tile in BG0 with a pixel of color 0, the color actually displays. Is this the norm?

#51201 - tepples - Wed Aug 17, 2005 4:07 am

A pixel with color index 0 displays if and only if there is nothing behind it. What makes you think that color 0 is displaying in front of something else?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#51206 - paladine - Wed Aug 17, 2005 5:00 am

Because there is nothing behind it ;-) I just have BG0 enabled. So the color behind it would technically be undefined. But thank you for the answer - it was that which I sought.