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.
I want to use a fading effect for the DMG GameBoy. But I want to fade the screen to white (like the pokemon red/blue intro). I found some C-code with google, but they only fade to black.
Offline
can you show the c code?
maby you could change it to from fading into black
to fading into white
Offline
The Code I tried to work with is from the gbdk examples. It's the galaxy.c. There is a function called fade().
Here is a link. You can find the function at line 388.
https://github.com/hschmitt/gbdk/blob/m … b/galaxy.c
I also found the same document with more information about the code:
http://forums.tigsource.com/index.php?t … 48.20;wap2
Last edited by cm0r (2015-06-12 09:58:21)
Offline
Ok, i already found a solution. I changed the values for the BGP_REG. But this only works for the Background. To fade sprites you have to use the OBP0_REG.
But thank you for your fast answer cat
Offline