From ccdf7130d02b50af7f38d4bad4401a27cc0e506b Mon Sep 17 00:00:00 2001 From: Nyeogmi Date: Thu, 29 Dec 2022 17:52:11 -0800 Subject: [PATCH] Better, black BG --- chameleonic.p8 | 89 ++++++++++++++++++++++++-------------------------- 1 file changed, 43 insertions(+), 46 deletions(-) diff --git a/chameleonic.p8 b/chameleonic.p8 index 80ceb2b..d841203 100644 --- a/chameleonic.p8 +++ b/chameleonic.p8 @@ -254,7 +254,7 @@ function level:draw() fillp(0b1111111110111111) rectfill(0,0,127,127,0x55) fillp() - pal(14,0) + pal(8,0) pal(14,0) map( self.bigx*16,self.bigy*16, 0,0,16,16, @@ -263,18 +263,15 @@ function level:draw() for _,pit in pairs(self._pits) do local px,py=pit.px,pit.py - local function edge_at(x,y) return not self._pits[_mix(pit.mx+x,pit.my+y)] end local pr=self._pits[_mix(px+1,py)] spr(pit.s,px,py) - if (edge_at(-1,0)) pset(px,py,0) - if (edge_at(1,0)) pset(px+7,py,0) if pit.contents then pal(pitpal) palt(0,false) spr(pit.contents,pit.px,pit.py) pal() - pal(14,0) + pal(8,0) pal(14,0) end end for _,crate in pairs(self._crates) do @@ -1692,30 +1689,30 @@ function level_text:draw() end end __gfx__ -000030000000002200003000eeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000333333330000000000050000eeeeeeee -003333300000332200333330effffffffffffffffffffffe000000000000000000000000000000000000000000000000333333330000000000005000eeeeeeee -099333990039932009333339effeeeeeeeeeeeeeeeeeeffe000000000000000000000000000000000000000000000000333333330000000000000000eeeeeeee -09a333a9033a932009333339efeebbebbbbebbbebbbbeefe000000000000000000000000000000000000000000000000333333330000000050050050eeeeeeee -023333323333320000222220efeb33e3333e333e3333befe000000000000000000000000000000000000000000000000333333330000000005005005eeeeeeee -002222200000220000222220efeb3eeeeeeeeeeeeee3befe000000000000000000000000000000000000000000000000333333330000000000000000eeeeeeee -000222c002222c0000022200efeeee555e555e55e5eeeefe000000000000000000000000000000000000000000000000333333330000000000050000e55eeeee -00000cc00000cc0000000cc0efeb3e5eeeeeeeeee5e3befe0000000000000000000000000000000000000000000000003333333300000000000050005555ee55 -0000ff000000000000000000efeb3e5e00000000e5e3befe000000000000000000000000000000000000000000000000eeeeeeee5e55e5e55e55e5e5eeeeeeee -000f00f0000000000aa00aa0efeb3eee00000000eee3befe000000000000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee -00d0000f000000000aaaaaa0efeb3e5e00000000e5e3befe000000000000000000000000000000000000000000000000eeeeeeeeeeeeeeeee5ee5e5eeeeeeeee -00d0d00f00c040500aaaaaa0efeeee5e00000000e5eeeefe000000000000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee -00dd00ee00c4455000999900efeb3e5e00000000e5e3befe000000000000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeee5eeeeeeeeeee -00000ee00c44455500aaaa00efeb3eee00000000eee3befe000000000000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee -00eeee000c004005000aa000efeb3e5e00000000e5e3befe000000000000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeee5eee55 -eeee0000cc04405500444400efeeee5e00000000e5eeeefe000000000000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeee55555555 -00000000000a900000000000efeb3eeeeeeeeeeeeee3befe00000000000000000000000000000000000000000000000000000000000000000000000000000000 -00000aaaaaaa910000000000efeb3e5555e555e555e3befe00000000000000000000000000000000000000000000000000000000000000000000000000000000 -0000aaaaaa1a911000000000efeb3eeeeeeeeeeeeee3befe00000000000000000000000000000000000000000000000000000000000000000000000000000000 -0aaaaaaaaa1a911100000000efeb33e3333e333e3333befe00000000000000000000000000000000000000000000000000000000000000000000000000000000 -0aaaaaaaa41a91a100000000efeebbebbbbebbbebbbbeefe00000000000000000000000000000000000000000000000000000000000000000000000000000000 -0a000aa4441a91a100000000effeeeeeeeeeeeeeeeeeeffe00000000000000000000000000000000000000000000000000000000000000000000000000000000 -00a0044449a110a100000000effffffffffffffffffffffe00000000000000000000000000000000000000000000000000000000000000000000000000000000 -000aa1119911111000000000eeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000000000000000000000 +000030000000002200003000eeeeeeeeeeeeeeeeeeeeeeee555555550000000000000000000000000000000000000000333333338888888800050000eeeeeeee +003333300000332200333330eeffffffffffffffffffffee55ee55ee0000000000000000000000000000000000000000333333338888888800005000eeeeeeee +099333990039932009333339effeeeeeeeeeeeeeeeeeeffeeeeeeeee0000000000000000000000000000000000000000333333338888888800000000eeeeeeee +09a333a9033a932009333339efeebbebbbbebbbebbbbeefeeeeeeeee0000000000000000000000000000000000000000333333338888888850050050eeeeeeee +023333323333320000222220efebbbebbbbebbbebbbbbefeeeeeeeee0000000000000000000000000000000000000000333333338888888805005005eeeeeeee +002222200000220000222220efebbeeeeeeeeeeeeeebbefeeeeeeeee0000000000000000000000000000000000000000333333338888888800000000eeeeeeee +000222c002222c0000022200efeeee555e555e55e5eeeefeeeeeeeee0000000000000000000000000000000000000000333333338888888800050000e55eeeee +00000cc00000cc0000000cc0efebbe5eeeeeeeeee5ebbefeeeeeeeee00000000000000000000000000000000000000003333333388888888000050005555ee55 +0000ff000000000000000000efebbe5e00000000e5ebbefe555555550000000000000000000000000000000000000000eeeeeeee555555555eee5555eeeeeeee +000f00f0000000000aa00aa0efebbeee00000000eeebbefe55ee55ee0000000000000000000000000000000000000000eeeeeeee55ee55eeeeeeeeeeeeeeeeee +00d0000f000000000aaaaaa0efebbe5e00000000e5ebbefeeeeeeeee0000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee +00d0d00f00c040500aaaaaa0efeeee5e00000000e5eeeefeeeeeeeee0000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee +00dd00ee00c4455000999900efebbe5e00000000e5ebbefeeeeeeeee0000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee +00000ee00c44455500aaaa00efebbeee00000000eeebbefeeeeeeeee0000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee +00eeee000c004005000aa000efebbe5e00000000e5ebbefeee55ee550000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeee5eee55 +eeee0000cc04405500444400efeeee5e00000000e5eeeefe555555550000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeee55555555 +00000000000a900000000000efebbeeeeeeeeeeeeeebbefeeeeeeeee000000000000000000000000000000000000000000000000000000000000000000000000 +00000aaaaaaa910000000000efebbe5555e555e555ebbefeeeeeeeee000000000000000000000000000000000000000000000000000000000000000000000000 +0000aaaaaa1a911000000000efebbeeeeeeeeeeeeeebbefeeeeeeeee000000000000000000000000000000000000000000000000000000000000000000000000 +0aaaaaaaaa1a911100000000efebbbebbbbebbbebbbbbefeeeeeeeee000000000000000000000000000000000000000000000000000000000000000000000000 +0aaaaaaaa41a91a100000000efeebbebbbbebbbebbbbeefeeeeeeeee000000000000000000000000000000000000000000000000000000000000000000000000 +0a000aa4441a91a100000000effeeeeeeeeeeeeeeeeeeffeeeeeeeee000000000000000000000000000000000000000000000000000000000000000000000000 +00a0044449a110a100000000eeffffffffffffffffffffeeee55ee55000000000000000000000000000000000000000000000000000000000000000000000000 +000aa1119911111000000000eeeeeeeeeeeeeeeeeeeeeeee55555555000000000000000000000000000000000000000000000000000000000000000000000000 000000009910000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddd00ddddddddddddddddddddddddddd 000000009900000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddd00ddddddddddddddddddddddddddd 000000009900000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddd77ddddddddddddddddddddddddddd @@ -1887,25 +1884,25 @@ __label__ 77777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777 __gff__ -000000c0c0c0080000000000c0c00020000000c008c008000000000020202020404000c0c0c008080808080800000000404000080808080808080808c0c0c0c000000000080808080808080800000008000000000808080808080808000000000008080808080808080808080000000000080808080808080808080800000000 +000000c0c0c0200000000000c0c00020000000c008c020000000000020202020404000c0c0c020000008080800000000404000080808080808080808c0c0c0c000000000080808080808080800000008000000000808080808080808000000000008080808080808080808080000000000080808080808080808080800000000 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 __map__ -0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c120c0c0c0c0c0c0c0c0c010c0c0c0c0c0c0c0c0c0c0c0c0c0c120c0c0c0c0c0c0c0c0c0c0c0c0c0c0c3e0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e -0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c00000000000c00000000000000000c0c000c004f00000c000000000000000c0c0c0c0c0c0c0000000c000c0000000c0c0c0c0c0c0c0c0c0c00000c0000000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 -0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c00000000001c00004f00000000000c0c00001c0000000c000000000000000c0c0c0c0c0c0c0000000c000c0000000c0c000000000000000000000c0000000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 -0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c00000000000c0c0c0c0c0c1c001c0c0c0c0c00000c0c0c000000000000000c0c000000000c0000000c000c0000000c0c0000000000000000421c000000000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 -0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c000000000000000000000c1c001c0c0c0000000000000c000000000000000c0c00001c1c000000000c000c0000000c0c000000000000000000000c0000410c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 -0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c000000000000000000000c0000000c0c0000000000000c000000000000000c0c00001c480c004200001c430000000c0c0c0c0c000c0c0c0c00000c00001c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000e0e000000000000000e00000000000e0e0e0e000000000000 -0c03040404040404040404040404050c0c000000000000000000000c0000000c0c0000000000000c000000000000000c0c000000000c0000000000000000000c3d00001c001c00003f0c0c0c0c0c000c0c0c0c1c1c1c1c1c1c1c1c1c1c0c0c0c0e00000000000e0000000000000000000e00000000000000000e000000000000 -0c13001c1d1e00000c0000000000150c01000000000000000000000c0000000c0c0c0c00000c0c0c000000000000000c0c000000000c0c0c0c0000000c0c0c0c0c00001c1c1c00000c0c0c0c0c0c000c0c0c00001c1c1c1c1c1c1c1c00003f0c0e00000000000e0e0e000000000000000e000000000000000e00000000000000 -010000001f0f00004f000000000000120c0c0c0c0c0c0c0c0c0c0c0c0c000c0c0c00001c1c004f0c000000000000000c0c000000000c00000c0c0c0c0c00000c0c00001c401c00000c0000000000000c010000001c1c1c1c1c1c1c1c000000120e00000000000e00000e0000000000000e0000000000000e0000000000000000 -0c130000000000000c0000000000150c0c000000000000000c0000000000000c0c0000000000000c0000004f0000000c0c000000000c0000000000000000000c0c000000000000000c00481c0000000c0c0c00001c1c1c1c1c1c1c1c00003f0c0e0000000000000e0e000000000000000e0000000000000e0000000000000000 -0c23242424242424242424242424250c0c000000000000000c0000000000000c0c0000000000000c0000001c0000000c0c000000430c0000000000000000000c0c000000000000000c0c0c000c0c0c0c0c0c0c1c1c1c1c1c1c1c1c1c1c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 -0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c000000000000000c0000000000000c0c0c0c00000c0c0c00000c000c00000c0c00000000004d00000000000000000c0c000000000000000c0000000c00000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 -0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c00000c0c000c0c0c0c0c0c1c0c0c0c0c4f001c1c00000c0c0c0c000c0c0c0c0c0c0c0c0c0c0000000000000000000c0c000000000000000c00001c1c00000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 -0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c00000c1c4f1c000000000c4f0c000c0c00000000000000000000000000000c0c0c0c0c0c0c0000000000000000000c0c000000000000000c000040440c000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 -0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c000c1c1c1c00000000000000000c0c00000000000000000000000000000c0c0c0c0c0c0c00000c0c000c0c00000c0c0c0c0c000c0c0c0c000000000c00120c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 -0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c120c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c010c0c0c0c0c0c0c0c0c010c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 +0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c120c0c0c0c0c0c0c0c0c010c0c0c0c0c0c0c0c0c0c0c0c0c0c120c0c0c0c0c0c0c0c0c0c0c0c0c0c0c3e0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e +0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0c00000000000c00000000000000000c0c000c004f00000c000000000000000c0c0c0c0c0c0c0000000c000c0000000c0c0c0c0c0c0c0c0c0c00000c0000000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 +0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0c00000000001c00004f00000000000c0c00001c0000000c000000000000000c0c0c0c0c0c0c0000000c000c0000000c0c000000000000000000000c0000000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 +0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0c00000000000c0c0c0c0c0c1c001c0c0c0c0c00000c0c0c000000000000000c0c000000000c0000000c000c0000000c0c0000000000000000421c000000000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 +0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0c000000000000000000000c1c001c0c0c0000000000000c000000000000000c0c00001c1c000000000c000c0000000c0c000000000000000000000c0000410c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 +0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0c000000000000000000000c0000000c0c0000000000000c000000000000000c0c00001c480c004200001c430000000c0c0c0c0c000c0c0c0c00000c00001c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000e0e000000000000000e00000000000e0e0e0e000000000000 +0d03040404040404040404040404050d0c000000000000000000000c0000000c0c0000000000000c000000000000000c0c000000000c0000000000000000000c3d00001c001c00003f0c0c0c0c0c000c0c0c0c1c1c1c1c1c1c1c1c1c1c0c0c0c0e00000000000e0000000000000000000e00000000000000000e000000000000 +0d1300161d0600000c0000000000150d01000000000000000000000c0000000c0c0c0c00000c0c0c000000000000000c0c000000000c0c0c0c0000000c0c0c0c0c00001c1c1c00000c0c0c0c0c0c000c0c0c00001c1c1c1c1c1c1c1c00003f0c0e00000000000e0e0e000000000000000e000000000000000e00000000000000 +01000000262600004f000000000000120c0c0c0c0c0c0c0c0c0c0c0c0c000c0c0c00001c1c004f0c000000000000000c0c000000000c00000c0c0c0c0c00000c0c00001c401c00000c0000000000000c010000001c1c1c1c1c1c1c1c000000120e00000000000e00000e0000000000000e0000000000000e0000000000000000 +0d130000000000000c0000000000150d0c000000000000000c0000000000000c0c0000000000000c0000004f0000000c0c000000000c0000000000000000000c0c000000000000000c00481c0000000c0c0c00001c1c1c1c1c1c1c1c00003f0c0e0000000000000e0e000000000000000e0000000000000e0000000000000000 +0d23242424242424242424242424250d0c000000000000000c0000000000000c0c0000000000000c0000001c0000000c0c000000430c0000000000000000000c0c000000000000000c0c0c000c0c0c0c0c0c0c1c1c1c1c1c1c1c1c1c1c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 +0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0c000000000000000c0000000000000c0c0c0c00000c0c0c00000c000c00000c0c00000000004d00000000000000000c0c000000000000000c0000000c00000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 +0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0c00000c0c000c0c0c0c0c0c1c0c0c0c0c4f001c1c00000c0c0c0c000c0c0c0c0c0c0c0c0c0c0000000000000000000c0c000000000000000c00001c1c00000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 +0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0c00000c1c4f1c000000000c4f0c000c0c00000000000000000000000000000c0c0c0c0c0c0c0000000000000000000c0c000000000000000c000040440c000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 +0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0c0c000c1c1c1c00000000000000000c0c00000000000000000000000000000c0c0c0c0c0c0c00000c0c000c0c00000c0c0c0c0c000c0c0c0c000000000c00120c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 +0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0c0c120c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c010c0c0c0c0c0c0c0c0c010c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e 0c00000000000000000000000000000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0000000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000 0c004f000000000c001c1c000c0c000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0000000000000c0c0c0c0c0c0c0c0c0c0c0c00000c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c3e0c0c0c0c0c0e0000000000000000000000000000000e000000000000000000000000000000