Full Metal
C(++) Developer.
- 810
- Posts
- 17
- Years
- In my mind.
- Seen Aug 19, 2018
correct me if i'm wrong,but getting around the 16 color problem just takes some creativity.
A picture (in layman terms) works like this:
1)Every pixel has a pallette value
2)Changing the pallette value changes the pixel
3)You can change which pallete a 8x8 pixel uses
So if your using a tilemap, and have control over the pallettes then yes, you can. Sort of. It requires making two pallettes, loading them, loading tileset, then loading the tilemap which accurately contains information as to which pallette each one should use. Technically no, you can't have an image with more than 16 color pallettes, and less than 256. But you can create the illusion.
A picture (in layman terms) works like this:
1)Every pixel has a pallette value
2)Changing the pallette value changes the pixel
3)You can change which pallete a 8x8 pixel uses
So if your using a tilemap, and have control over the pallettes then yes, you can. Sort of. It requires making two pallettes, loading them, loading tileset, then loading the tilemap which accurately contains information as to which pallette each one should use. Technically no, you can't have an image with more than 16 color pallettes, and less than 256. But you can create the illusion.