Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)
You are not logged in.
Hello. I have a problem. I want to change transparent color in sprites to light green (1 in GTD). How i can do it? I use C.
OBP0_REG = 0xE1
Does not work for me. I make code for orginal GB, no color things.
Offline
You can't change the transparent color in sprites. Sprites can only have 3 colors. 0xE1 is 11100001 in binary, so the three visible colors in your example are black (11), dark gray (10) and white (00). 01 at the end is ignored because that color is always transparent.
Offline
nitro2k01 wrote:
You can't change the transparent color in sprites. Sprites can only have 3 colors. 0xE1 is 11100001 in binary, so the three visible colors in your example are black (11), dark gray (10) and white (00). 01 at the end is ignored because that color is always transparent.
No no, i mean: I want to change white for gray.
Anyway i got it. I set D0 and remodel my sprite, is ok now. Thanks anyway.
Offline