blewjy [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=44334 Speed Arrows (TweetTweetJam4) <p> <table><tr><td> <a href="/bbs/?pid=76072#p"> <img src="/bbs/thumbs/pico8_sebatudfi-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=76072#p"> Speed Arrows 1.0</a><br><br> by <a href="/bbs/?uid=44334"> blewjy</a> <br><br><br> <a href="/bbs/?pid=76072#p"> [Click to Play]</a> </td></tr></table> </p> <h2>Controls:</h2> <p>Arrow keys - Match the arrow pattern<br /> C - Hit C once pattern is finished</p> <h2>Description:</h2> <p>PICO-8 game with only 560 characters. Submission for TweetTweetJam4.<br /> Match the arrow patterns before the time runs out! See if you can beat my hi-score of 210.<br /> Check out the demo video of my hi-score: <a href="https://youtu.be/OSP13QDu-Bc">Speed Arrows Demo</a><br /> Also check it out on itch.io: <a href="https://blewjy.itch.io/speed-arrows">Speed Arrows Game</a></p> <h2>Video:</h2> <p><object width="640" height="400"><param name="movie" value="https://www.youtube.com/v/OSP13QDu-Bc&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/OSP13QDu-Bc&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="400"></embed></object></p> <h2>Code:</h2> <p>Copy and paste the following code into a clean PICO-8 file and you should be able to play it!</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>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={&quot;⬅️&quot;,&quot;➡️&quot;,&quot;⬆️&quot;,&quot;⬇️&quot;}w=ceil::q::v=1s=0h=99j=sub::r::f=&quot;&quot;l=&quot;&quot;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(&quot;♪&quot;..s..&quot; ⧗&quot;..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&lt;1then goto o end goto _::o::cls()p(&quot;♪&quot;..s,53,60,7)while not(b(4))do end goto q</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=37797 https://www.lexaloffle.com/bbs/?tid=37797 Thu, 07 May 2020 16:35:55 UTC