#170140 - Azenris - Wed Sep 02, 2009 3:19 pm
I have some tiles each using a single 256 palette. However the colours themselves are shown as rgb 0..255. but that needs 8 bits each and from I saw the nds only has 16 bit palette. (B, G, R, x) BGR=5 bit each. 0..31
Am I looking at this wrong or to get the colour do I have to convert it, like 255 becomes 31 as its max value, 127 = 15. etc.
TY for any help, ask if you need me to explain better.
_________________
My Homebrew Games
Am I looking at this wrong or to get the colour do I have to convert it, like 255 becomes 31 as its max value, 127 = 15. etc.
TY for any help, ask if you need me to explain better.
_________________
My Homebrew Games