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 > Fading bg layers?

#5636 - Lupin - Sun May 04, 2003 3:10 pm

What's the best way to fade layers? I need to fade the whole screen to white for example. I know how to do it in bitmap mode, but I think changing the palette is an kinda dumb way, isn't it? :)

#5638 - DekuTree64 - Sun May 04, 2003 3:52 pm

Use REG_BLDMOD. Check the PERN project tutorial 4 (the one about tiles and maps) for the settings on it.
But palette fades are ok too, if you need the hardware blending for something else. Just a heck of a lot slower.