PDA

View Full Version : Tileset Help-RGB in 16-bit vs 8 bit


MBunny
Feb 13, 2002, 11:20 PM
ZolleH =)
I've been working on a tileset with a single colour theme for a while now, and have discovered an absurd problem which I cannot fix. I hope someone can find a soloution to this ^_^

I have been working with a range of colour[ex:15,15,15 to 31,31,31] in my pallete in the extra spots for colour using the standard JJ2 pallete. When I compiled and ran the tileset in JJ2, it appeared fine at first in 8-bit, but when I viewed it in 16-bit gameplay, all of the colours were merged together, leaving only about 5 different shades of what I originally had in 8-bit gameplay. The question is, how can you get a large, gradiented colour range to appear in 16-bit gameplay the same way it appears in 8-bit gameplay, without any colors merging? Or is that possible? ^_^ It still looks like this whether I choose to remap the tileset pallete or not... :confused:

I had suspected that perhaps the increments of the my colour range were at fault, since they only increased by [1,1,1] for each individual pallette box ^_^ Is this range too small for Jazz to use in 16-bit gameplay? The weird thing is that it looks perfect in 8-bit gameplay, which uses *less* colours, but looks horrid in 16-bit gameplay which uses *more* colours. :confused: :confused: :confused: :confused: :D

Thankz ^_^ (That is, IF you helped =P =) )

Ice M A N
Feb 14, 2002, 03:17 AM
heh.. I've never heard about that before, but I'm not surprised.

16 bit is usually either 5 bits of eachs color and 1 alpha (or it's unused), or 565 (6 green).

In 8 bit, each component of each color can have 256 possible values (0-255), which is 8 bits. To fit these 8 bits into 5 or 6 you get rid of the least significant bits. In the case of 5, the last three bits get chopped off, which can be at most 111, or 7. And.. um.. when you're going up by 1, 7 can be a lot.. so.. um.. I dunno. :P

8-bit is paletted, which lets you use any 256 (with the exception of JJ2 colors and whatnot :P) of the colors available in 24bit (8-8-8). Some of them aren't available in 16bit, so sometimes less is more ;)


Or I could be wrong. But I dunno :P

RosetaJOL
Feb 14, 2002, 05:02 AM
Sometimes I have a simmulair problem very often so I just uasually do it in 8 bit cause sometimes it makes it easier.

Kaz
Feb 14, 2002, 06:19 PM
I don't think it works that way... it's like running 32-bit colours on 16-bit. With 8-bit it's okay since the only colors you're going to use are already in the pallette but 16-bit has no pallette.