Play game
TweetTweetDevour's itch.io pageHow many characters of code did you use?
554
Include your code here, if you'd like to show it off!
e=127 function _init() a={} q=1 w=64 r=64 p=flr(rnd(128)) for i=0,40 do add(a,{flr(rnd(8)),p,p,rnd(2)-1,rnd(2)-1})end end function _draw() if(#a==0)_init() cls() circfill(w,r,q,1) if(btn(0)and w>=0)w-=1 if(btn(1)and w<e)w+=1 if(btn(2)and r>=0)r-=1 if(btn(3)and r<e)r+=1 for i in all(a)do n=i[1];m=i[2];v=i[3] circfill(m,v,n,7) if(m>=e-n)i[4]=-i[4] if(m<=0+n)i[4]=-i[4] if(v>=e-n)i[5]=-i[5] if(v<=0+n)i[5]=-i[5] i[2]+=i[4];i[3]+=i[5];d=i[1]+q;xd=abs(i[2]-w);yd=abs(i[3]-r) if xd<=d and yd<=d then if(q>=i[1])q+=i[1];del(a,i) if(q<=i[1])_init() end end end
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet