Speed Arrows
Controls:
Arrow keys - Match the arrow pattern
C - Hit C once pattern is finished
Description:
PICO-8 game with only 560 characters. Submission for TweetTweetJam4.
Match the arrow patterns before the time runs out! See if you can beat my hi-score of 210.
Code:
poke2(0x3200,2276)function x(n)if d!=n and j(l,#f+1,#f+1)==a[n+1]then f=f..a[n+1]sfx(0)end d=n end d=9 b=btn p=print a={"⬅️","➡️","⬆️","⬇️"}w=ceil::q::v=1s=0h=99j=sub::r::f=""l=""for n=1,min(v,24)do l=l..a[w(rnd(4))]end::_::h-=1if b(0)then x(0)elseif b(1)then x(1)elseif b(2)then x(2)elseif b(3)then x(3)else d=9 end if f==l and b(4)then h+=99s+=#f v+=1goto r end cls()p("♪"..s.." ⧗"..w(h/30),33,72,6)for g=1,3 do e=8*g p(j(l,e-7,e),33,42+6*g,7)p(j(f,e-7,e),33,42+6*g,11)end flip()if h<1then goto o end goto _::o::cls()p("♪"..s,53,60,7)while not(b(4))do end goto q
Leave a comment
Log in with itch.io to leave a comment.