more palettes!

This commit is contained in:
Kistaro Windrider 2023-09-22 23:56:00 -07:00
parent 7b3d6fecaf
commit e151e4b6c6
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -31,8 +31,8 @@ function _init()
-- reset color
plane_mask = 0xff
-- experimental additive palette 1
pal({[0]=0,136,3,4,1,141,13,5,6,8,139,10,140,14,12,7}, 1)
-- see tab 5 for palettes
pal(palettes.additive,1)
end
function _update60()
@ -196,6 +196,15 @@ end
-- palette selection ui
-- ...from a preset list
-- ...freely
-->8
-- palettes
palettes = {
classic = {[0] = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15},
alt = {[0] = 128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143},
additive = {[0]=0,136,3,4,1,141,13,5,6,8,139,10,140,14,12,7},
subtractive = {[0]=7,12,14,1,10,11,136,5,6,140,130,129,132,131,2,0},
}
__gfx__
00000000500000005000000050000000500000005000000050000000500000005000000000000000000000000000000000000000000000000000000000000000
00000000550000005500000055000000550000005500000055000000550000005500000000000000000000000000000000000000000000000000000000000000