#69965 - deltree - Fri Feb 03, 2006 11:19 am
after reading a lot of spec on GBA hardware, I still have a few questions:
is it possible to have more than 256 colors in bgmode 0, 1 and 2 ?
is it possible to have a sprite with more than 256 colors?
if I want to have nice backgrounds with 65000 colors, the only way is to be in mode 3,4 or 5?
#69968 - keldon - Fri Feb 03, 2006 11:40 am
There is one trick that was used in 'Alone In The Dark' for the GBC. Each VBL you change the palette so that you have a different set of colours for each line (or so) in your images. This would not work well for sprites - however there is one way, but it is not very viable. It could only work if you did it for one sprite only, shifting between various versions of it for each 16 vertical pixels.
This also depends on whether you can DMA the palette data each VBL. However you may be able to it with 16 colours.
The GBC was able to have 64k colours using just 4 colour palettes.
#69972 - FluBBa - Fri Feb 03, 2006 12:49 pm
keldon wrote: |
The GBC was able to have 64k colours using just 4 colour palettes. |
How can a display that is 160x144 pixels (23040 pixels in total) possibly show 64000 colors at the same time? :P
_________________
I probably suck, my not is a programmer.
#69993 - keldon - Fri Feb 03, 2006 5:45 pm
FluBBa wrote: |
keldon wrote: | The GBC was able to have 64k colours using just 4 colour palettes. |
How can a display that is 160x144 pixels (23040 pixels in total) possibly show 64000 colors at the same time? :P |
It can't. I'm guessing from memory, 8 4-colour palettes x 144 lines =~ 4k colours.
#70032 - tepples - Fri Feb 03, 2006 9:46 pm
Unless of course you use temporal dithering, which uses the LCD's slow response to simulate the presence of more 4-color palettes or more colors per palette.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.