inline arcade mode palettes
This commit is contained in:
parent
02e5533eb1
commit
44b8826720
@ -6,6 +6,7 @@ Arcade Mode palette notes:
|
|||||||
-- 2: dolphin shading
|
-- 2: dolphin shading
|
||||||
-- 3: azure water, maybe score display? (140)
|
-- 3: azure water, maybe score display? (140)
|
||||||
-- 4, 5: keep default in sky layer (for emergency awakener)
|
-- 4, 5: keep default in sky layer (for emergency awakener)
|
||||||
|
-- 4 (underwater) is a deeper blue shade part of sea
|
||||||
-- 6: dolphin specular highlights
|
-- 6: dolphin specular highlights
|
||||||
-- 7: dolphin white paint
|
-- 7: dolphin white paint
|
||||||
-- 8, 9: unassigned, layer specific
|
-- 8, 9: unassigned, layer specific
|
||||||
|
22
vacation.p8
22
vacation.p8
@ -1377,24 +1377,20 @@ function wordtarget:draw()
|
|||||||
print(self.str, self.x, self.y, 0x100a)
|
print(self.str, self.x, self.y, 0x100a)
|
||||||
end
|
end
|
||||||
|
|
||||||
game_nrm_pal = {
|
|
||||||
[0] = 1, 0, 2, 140, 4, 5, 7, 7, 8, 9, 10, 132, 12, 12, 14, 7
|
|
||||||
}
|
|
||||||
|
|
||||||
-- undersea palette local decisions:
|
|
||||||
-- 4: deeper sea blue (129)
|
|
||||||
game_uw_pal = {
|
|
||||||
[0]=1, 0, 130, 140, 129, 5, 141, 13, 8, 9, 10, 132, 131, 12, 141, 7
|
|
||||||
}
|
|
||||||
|
|
||||||
function setup_arcade_pal()
|
function setup_arcade_pal()
|
||||||
-- per-line color mode
|
-- per-line color mode
|
||||||
poke(0x5f5f, 0x10)
|
poke(0x5f5f, 0x10)
|
||||||
-- rows 72 and lower: sea
|
-- rows 72 and lower: sea
|
||||||
memset(0x5f79,0xff,7)
|
memset(0x5f79,0xff,7)
|
||||||
pal()
|
pal()
|
||||||
pal(game_nrm_pal, 1)
|
--game_nrm_pal
|
||||||
pal(game_uw_pal, 2)
|
pal({
|
||||||
|
[0] = 1, 0, 2, 140, 4, 5, 7, 7, 8, 9, 10, 132, 12, 12, 14, 7
|
||||||
|
}, 1)
|
||||||
|
--game_uw_pal
|
||||||
|
pal({
|
||||||
|
[0]=1, 0, 130, 140, 129, 5, 141, 13, 8, 9, 10, 132, 131, 12, 141, 7
|
||||||
|
}, 2)
|
||||||
end
|
end
|
||||||
|
|
||||||
function wave()
|
function wave()
|
||||||
@ -1696,7 +1692,7 @@ function ggwp:draw()
|
|||||||
print(self.score_str, xpos+1, 33, 12)
|
print(self.score_str, xpos+1, 33, 12)
|
||||||
print(self.score_str, xpos, 32, 0)
|
print(self.score_str, xpos, 32, 0)
|
||||||
|
|
||||||
print(self.score_pct,64-3*#self.score_pct,59,self.col)
|
print(self.score_pct,64-print(self.score_pct,0,-9999)/2,59,self.col)
|
||||||
|
|
||||||
font_default()
|
font_default()
|
||||||
local xoff = print(self.final_text, 0, -999, 0) - 1
|
local xoff = print(self.final_text, 0, -999, 0) - 1
|
||||||
|
Loading…
Reference in New Issue
Block a user