Sidewind
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_
Comments
Log in with itch.io to leave a comment.
The game has a really nice feel to it. I really like what you've done with just 560 chars.
my high score is 2130 so far
I'm not really sure if pressing Z does anything because it just immediately turns into a wall and I don't get enough time to observe any changes before or after pressing Z.
Don't press it immediately - the game has you start angled slightly to the right to give you more time before you have to react.
You also don't generally want to hold Z, just tap it. Because of how PICO-8 works holding it essentially will make you angle a bit then drive straight (usually into a wall).