make "press right" blink when you did it
This commit is contained in:
parent
3070e2ef15
commit
f751252950
17
vacation.p8
17
vacation.p8
@ -36,6 +36,9 @@ function csv(s)
|
|||||||
end
|
end
|
||||||
return ret
|
return ret
|
||||||
end
|
end
|
||||||
|
function hz(n)
|
||||||
|
return t()*2*n&1~=0
|
||||||
|
end
|
||||||
|
|
||||||
-- generate standard "overlay"
|
-- generate standard "overlay"
|
||||||
-- constructor for type tt.
|
-- constructor for type tt.
|
||||||
@ -1080,16 +1083,18 @@ function title_screen:draw_menu()
|
|||||||
print("\^w\^tvACATION", 18, 24, 0)
|
print("\^w\^tvACATION", 18, 24, 0)
|
||||||
print("\^w\^tvACATION", 17, 23, 3)
|
print("\^w\^tvACATION", 17, 23, 3)
|
||||||
print("\^w\^tvACATION", 16, 22, 15)
|
print("\^w\^tvACATION", 16, 22, 15)
|
||||||
print("pRESS", 43, 96, 3)
|
if hz(8) or self.a.wordremain ~= 0 then
|
||||||
print("pRESS", 42, 95, 15)
|
print("pRESS", 43, 96, 3)
|
||||||
font_default()
|
print("pRESS", 42, 95, 15)
|
||||||
print("➡️", 79, 98, 3)
|
font_default()
|
||||||
print("➡️", 78, 97, 15)
|
print("➡️", 79, 98, 3)
|
||||||
|
print("➡️", 78, 97, 15)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function title_screen:update()
|
function title_screen:update()
|
||||||
self.a.wordwait=999
|
self.a.wordwait=999
|
||||||
if btnp(1) then
|
if btnp(1) and self.a.wordremain ~= 0 then
|
||||||
self.a.wordremain=0
|
self.a.wordremain=0
|
||||||
create_game()
|
create_game()
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user