bubbleXshuriken
Just catch all the Shurikens!
Move with ⬅️➡️ and move 180º with X.
Made for #TweetTweetJam 10, code fits in exact 500 characters.
x=.75k=0🅾️=63…=50t=0e={}g={}a,★,🐱=█,sin,cos::_::cls(6)b=btnp()t+=1 if(t%60==0)d=rnd(9)\1*1/8add(e,{d=d,c=🐱(d),s=★(d),r=0,v=a}) circfill(🅾️+1,🅾️,…,5)if(btnp(❎))x+=█ x+=(b\2%2-b%2)>>3q=🐱(x)w=★(x)for n in all(e)do c,s,r=n.c,n.s,n.r ✽=7+(n.d*8)n.r+=n.v?"✽",🅾️+c*r-2,🅾️+s*r-2,✽ if(r>47and r<53and q==c and w==s)a+=.1k+=1del(e,n)add(g,{x=n.c*…,y=n.s*…,r=0,c=✽})?"\ae" if(r>90)del(e,n)a-=.05 end for n in all(g)do circ(🅾️+n.x+2,🅾️+n.y+2,n.r,n.c)n.r+=2if(n.r>128)del(g,n) end?k,1,1,8 ?"●⁶1",🅾️+q*…-2,🅾️+w*…-2,2 goto _
Leave a comment
Log in with itch.io to leave a comment.