more palettes!
This commit is contained in:
parent
7b3d6fecaf
commit
e151e4b6c6
@ -31,8 +31,8 @@ function _init()
|
|||||||
-- reset color
|
-- reset color
|
||||||
plane_mask = 0xff
|
plane_mask = 0xff
|
||||||
|
|
||||||
-- experimental additive palette 1
|
-- see tab 5 for palettes
|
||||||
pal({[0]=0,136,3,4,1,141,13,5,6,8,139,10,140,14,12,7}, 1)
|
pal(palettes.additive,1)
|
||||||
end
|
end
|
||||||
|
|
||||||
function _update60()
|
function _update60()
|
||||||
@ -196,6 +196,15 @@ end
|
|||||||
-- palette selection ui
|
-- palette selection ui
|
||||||
-- ...from a preset list
|
-- ...from a preset list
|
||||||
-- ...freely
|
-- ...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__
|
__gfx__
|
||||||
00000000500000005000000050000000500000005000000050000000500000005000000000000000000000000000000000000000000000000000000000000000
|
00000000500000005000000050000000500000005000000050000000500000005000000000000000000000000000000000000000000000000000000000000000
|
||||||
00000000550000005500000055000000550000005500000055000000550000005500000000000000000000000000000000000000000000000000000000000000
|
00000000550000005500000055000000550000005500000055000000550000005500000000000000000000000000000000000000000000000000000000000000
|
||||||
|
Loading…
Reference in New Issue
Block a user