Compare commits

...

2 Commits

View File

@ -513,7 +513,7 @@ end
function title_screen:draw() function title_screen:draw()
pal() pal()
memset(0x5f78,0x0,8) clear_alt_pal_bits()
cls(12) cls(12)
print("title screen", 30, 57, 0) print("title screen", 30, 57, 0)
print("press right arrow", 15, 66, 0) print("press right arrow", 15, 66, 0)
@ -818,6 +818,10 @@ function wave(toff)
return 2.5 * sin((t()+toff)>>1) return 2.5 * sin((t()+toff)>>1)
end end
function clear_alt_pal_bits()
memset(0x5f70,0x0,16)
end
sea = {} sea = {}
mknew(sea) mknew(sea)
@ -1022,7 +1026,8 @@ function start_game()
{ {
f = function() f = function()
pal() pal()
return view.of{bg.new(), fuzzy_stripey.new{interval=7}} clear_alt_pal_bits()
return view.of{bg.new{c=6}, fuzzy_stripey.new{interval=7, colors={12, 7, 14}, weight=8}}
end, end,
}, },
} }