Play toy
Tiny Drops's itch.io pageHow many characters of code did you use?
500
Include your code here, if you'd like to show it off!
v=8o={}p=0f=unpack::_::z=stat
n=z(34)x=z(32)y=z(33)?"^⁶1⁶c0⁶!5f2d¹",x,y,v
if n>0then
if(p<1)add(o,{x,y,x,y,v})
k=o[#o]k[3]=x
k[4]=y
end
b=btnp()v=8+(v+b\2%2-b%2)%8if(b>9)deli(o)
e={}p=n
for i in all(d)do
x,y,w,z=f(i)pset(x,y,7)for j in all(o)do
line(f(j))k,l,m,n,b=f(j)m-=k
n-=l
g=x-k
h=y-l
q=w*n-z*m
if(q/(h*w-g*z)>1and q/(h*m-g*n)>1)c=q/(m*m+n*n)*2w-=c*n z+=c*m w*=.9z*=.9u=w*w+z*z?"⁷i"..(b-8)..chr(97+(u+2)%7)..u\7+1
end
if(y<128)add(e,{x+w,y+z,w,z+.1})end
d=e
if(t()%1==0)add(d,{64,0,0,0})
goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
This is cool.
This is amazing. So clever making each collision do a different sound, and the mouse control is perfect.