Sidewind
About
Also playable on the PICO-8 forums!
A tiny, simplistic 1-button arcade game written in 560 characters of code. Made for TweetTweetJam 2.
Your thread is constantly moving and turning. Press Z to switch which direction you turn in. Avoid obstacles and the ever-encroaching walls for as long as you can!
Reset the cart from the pause menu to play again.
Full Code:
e=camera p=add r=del h={}m=160 t=60 o=32 x=63 y=o v={1,3,11,10}f={}g={}for q=0,12 do p(f,x)p(g,y)end a=7 b=1 l=7 i=m d=80 function _update()j=41-d/4 k=86+d/4 cls(l)rectfill(j,0,k,m,0)e(0,y-o)for q=#h,1,-1 do c=h[q]circfill(c.z,c.w,c.s,l) if(c.w<y-80)r(h,c) end="" if="" l<8="" then="" i+="1" if(i="">d)d=max(d-4,20)p(h,{z=j+rnd(k-j),w=m+y,s=min(5+rnd(d/2),24)})i=0 if(btnp(4))b*=-1 a=(a+b+t)%t x+=4*cos(a/t)p(f,x)r(f,f[1])y-=4*sin(a/t)p(g,y)r(g,g[1]) if(pget(x,y)==7)l=13 end for q=1,12 do line(f[q],g[q],f[q+1],g[q+1],v[flr(q/3)])end e() ?flr(y-o),1,1,0 flip()end --by @jusiv_System requirements for Web
Last Modified: May 17, 2019
Where to buy
itch.io