second cloud layer. correct lighting angle.

there are entrance or exit artifacts; this set of values seems to give acceptable levels of entrance artifacts
This commit is contained in:
Kistaro Windrider 2024-02-29 22:18:18 -08:00
parent ad05ea4bde
commit d48b81f371
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -1409,8 +1409,8 @@ cmgr={
sprs=10, sprs=10,
step=3, step=3,
y=12, y=12,
h=9, h=10,
oval_h=4, oval_h=5,
c0 = 8, -- shadow c0 = 8, -- shadow
c1 = 7, -- primary c1 = 7, -- primary
} }
@ -1467,10 +1467,10 @@ function cmgr:draw()
pal(wpal) pal(wpal)
poke(0x5f5e,0xf1) poke(0x5f5e,0xf1)
sspr(0,96,128,h,5,112) sspr(0,96,128,h,0,112)
poke(0x5f5e,0xf2) poke(0x5f5e,0xf2)
sspr(0,96,128,h,4,113) sspr(0,96,128,h,-1,113)
sspr(0,96,128,h,1,113) sspr(0,96,128,h,-3,113)
poke(0x5f5e,255) poke(0x5f5e,255)
-- render to screen -- render to screen
@ -1531,7 +1531,7 @@ function setup_arcade_pal()
pal() pal()
--game_nrm_pal --game_nrm_pal
pal({ pal({
[0] = 1, 0, 2, 140, 4, 5, 7, 7, 15, 6, 10, 132, 12, 12, 14, 7 [0] = 1, 0, 2, 140, 4, 5, 7, 7, 15, 6, 10, 132, 12, 134, 14, 7
}, 1) }, 1)
--game_uw_pal --game_uw_pal
pal({ pal({
@ -1653,8 +1653,17 @@ mknew(arcade_level, function(x)
splasher=x, splasher=x,
xtarget=x.phin_x, xtarget=x.phin_x,
} }
x.sky = bg.new{c=13} x.sky = bg.new{c=12}
x.sea = sea.new() x.sea = sea.new()
x.cld0 = cmgr.new{
y=18,
h=9,
oval_h=4,
sprs=12,
step=4,
c0=13,
c1=9,
}
x.cld1 = cmgr.new{} x.cld1 = cmgr.new{}
x.bg = event_list.new() x.bg = event_list.new()
x.fg = event_list.new() x.fg = event_list.new()
@ -1665,6 +1674,7 @@ mknew(arcade_level, function(x)
x.v = view.of{ x.v = view.of{
x.sky, x.sky,
x.cld0,
x.cld1, x.cld1,
x.sea, x.sea,
x.waves, x.waves,
@ -1737,6 +1747,8 @@ function arcade_level:u()
end end
if self.wordremain <= 0 and self.words.next == nil then if self.wordremain <= 0 and self.words.next == nil then
self.phin.exiting = true self.phin.exiting = true
self.cld1.df = 0
self.cld0.df = 0
end end
if self.phin.x > 90 then if self.phin.x > 90 then
if not self.mstp then if not self.mstp then