Play game
Every 5 seconds's itch.io pageHow many characters of code did you use?
553
Include your code here, if you'd like to show it off!
_set_fps(60)z,f,m,h,s=mid,124,64,0,0::s::x,y,t,p=m,m,0,{}for i=1,50+s/5do
p[i]={x=rnd(f),y=rnd(f)}end::_::cls(1)t+=1/60c=t%10<5and 10or 8rect(0,0,127,127,4)b=btn()x+=(b&2)/2-(b&1)y+=(b&8)/8-(b&4)/4x=z(3,x,f)y=z(3,y,f)for i,q in pairs(p)do
?"●",q.x-3,q.y-2,c
u,v=x-q.x,y-q.y
b=u*u+v*v
if(i%5==3)u/=4
if(i%5==4)v/=4
a=c>8and-.4or.4
a/=(1+b)^.5
if(c>8and b>m*m)a=0
q.x+=a*u
q.y+=a*v
q.x=z(3,q.x,f)q.y=z(3,q.y,f)if b<16 then
if(c<10)s=0goto s
s+=1deli(p,i)end
end
?"웃",x-3,y-2,12
?s.." "..h.."⧗"..flr(6-t%5),2,2,13-t%10
if(#p<1)goto s
h=max(s,h)flip()goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet