Compare commits
No commits in common. "0597ee6860601d90802ddab7972713bc6a4c1d18" and "2e7fbb9fd4dca8dc4c38b030f45daa55057d67c1" have entirely different histories.
0597ee6860
...
2e7fbb9fd4
15
vacation.p8
15
vacation.p8
@ -275,13 +275,6 @@ function font_special()
|
|||||||
poke(0x5f58, 0x81)
|
poke(0x5f58, 0x81)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- play sound n on channel 3 iff
|
|
||||||
-- 3 doesn't already have a
|
|
||||||
-- greater index sound going
|
|
||||||
function psound(n, off, len)
|
|
||||||
if (stat(49) < n) sfx(n, 3, off, len)
|
|
||||||
end
|
|
||||||
|
|
||||||
-->8
|
-->8
|
||||||
-- text rendering
|
-- text rendering
|
||||||
|
|
||||||
@ -1066,6 +1059,7 @@ function ao_splash:update()
|
|||||||
end
|
end
|
||||||
if (self.d) self.d:update()
|
if (self.d) self.d:update()
|
||||||
if self.fwait <= -32 then
|
if self.fwait <= -32 then
|
||||||
|
-- TODO: consent screen
|
||||||
mainview=consent_splash.new()
|
mainview=consent_splash.new()
|
||||||
mainview:update()
|
mainview:update()
|
||||||
end
|
end
|
||||||
@ -1557,15 +1551,14 @@ function arcade_level:spawn_word()
|
|||||||
if not self.pattern then
|
if not self.pattern then
|
||||||
self.pattern=gen_pattern()
|
self.pattern=gen_pattern()
|
||||||
self.pattern_idx = 0
|
self.pattern_idx = 0
|
||||||
self.next_break = 8 + irnd(9)
|
self.next_break = 9 + irnd(9)
|
||||||
end
|
end
|
||||||
local i, pbk = (self.pattern_idx&3)+1,0
|
local i, pbk = (self.pattern_idx&3)+1,0
|
||||||
if self.next_break <= 0 then
|
if self.next_break == 0 then
|
||||||
-- do pattern break
|
-- do pattern break
|
||||||
local np = gen_pattern()
|
local np = gen_pattern()
|
||||||
i = np[1]==self.pattern[i] and 2 or 1
|
i = np[1]==self.pattern[i] and 2 or 1
|
||||||
self.pattern=np
|
self.next_break = 9 + irnd(9)
|
||||||
self.next_break = 8 + irnd(9)
|
|
||||||
pbk=3
|
pbk=3
|
||||||
end
|
end
|
||||||
self.pattern_idx = i
|
self.pattern_idx = i
|
||||||
|
Loading…
Reference in New Issue
Block a user