#12026 - dafagba - Mon Oct 27, 2003 11:28 am
I design a game, it used MODE_0,
BG0 show backgroud
BG1 show text.
BG0 and BG1 are both 16 color, but they do not use the same palette.
I can use LoadPalette() to load one of the palette into ram, such as:
then problem apeared: the two BGs use the same palette, the 2nd BG looks very ugly.
I know I can load two 16_color_palette into ram, but I do not know how to make BG_0 use 1st pal, and BG_1 use 2nd pal
So, can anyone tell me how to use different palettes.
:(
Thanks......... :)
BG0 show backgroud
BG1 show text.
BG0 and BG1 are both 16 color, but they do not use the same palette.
I can use LoadPalette() to load one of the palette into ram, such as:
Quote: |
for (u8 i = 0; i < 255; i++) LoadPaletteEntry(i, paletteData[i]); |
then problem apeared: the two BGs use the same palette, the 2nd BG looks very ugly.
I know I can load two 16_color_palette into ram, but I do not know how to make BG_0 use 1st pal, and BG_1 use 2nd pal
So, can anyone tell me how to use different palettes.
:(
Thanks......... :)