Play game
!TweetTweetCart: Attack On Blob!'s itch.io pageHow many characters of code did you use?
557
If you're comfortable with it, paste your game code here, so we can marvel at your achievement!
b=0z=rnd::r::s=0t=0q=0l={}g={}f=circfill
u=pairs
::_::x=64+94*cos(q)y=64+94*sin(q)cls()add(l,{x=x,y=y,a=q-z(.05),r=6+z(5)})t+=.0002
if(btn(0))q+=.01
if(btn(1))q-=.01
add(g,{a=z(),r=2})
for h,j in u(g)do
j.r+=.1+z(t)j.x=64+j.r*cos(j.a)j.y=64+j.r*sin(j.a)f(j.x,j.y,4+j.r/6,11)
if(j.r>64)goto r
end
for k,p in u(l)do
p.r*=.85+z(.1)n=64-p.x m=64-p.y
f(p.x,p.y,p.r/2,10)w=p.r/sqrt(n*n+m*m)p.x+=n*w p.y+=m*w
if(p.r<.5)del(l,p)
for h,j in u(g)do
if(p.x<j.x+4 and p.y<j.y+4 and p.x+4>j.x and p.y+4>j.y)del(g,j)del(l,p)s+=1
end
end
if(s>b)b=s
?s..","..b
flip()goto _
Leave a comment
Log in with itch.io to leave a comment.