Starxbubble
You are a reddish sea star with a deep hatred for the bubbles rising from the seabed.
Pop them all.
Made for TweetTweetJam #10, code in 496 characters.
…=127x=63y=63s=2g={}t=0k=0w=120β=2m=mid::β::add(g,{x=15+rnd(99),y=…+9,r=15})goto g ::_::cls(12)rectfill(0,…-3,…,…,9)if(t%w==0)w=max(50,w)-2β=12goto β ?"center and π ΎοΈ",39,1,β ::g::b=btn()for n in all(g)do n.y-=2n.x+=cos(t/w)n.r=m(3,n.r-.2,20) a,c,r=n.x,n.y,n.r π=r/3circ(a,c,r,1)circ(a-π,c-π,π,7) v=x+4u=y+3 if(v==m(a-r,v,a+r)and u==m(c-r,u,c+r)and btn(π ΎοΈ))k+=r\1del(g,n) ?"β·t1f" if(c<0)del(g,n)end x+=(b\2%2-b%2)*s if(b&4==4)y-=s if(b&8==8)y+=s x=m(x,…-6)y=m(y,…-8)?k,1,1,1 ?"β βΆ1",x,y,8 t+=1 goto _
Leave a comment
Log in with itch.io to leave a comment.