Play game
srviv's itch.io pageHow many characters of code did you use?
499
Include your code here, if you'd like to show it off!
l=128x=64y=64c=0v=0p=0m=64n=64z={}r=rnd β
=sin π±=cos β¦=atan2 π
ΎοΈ=circ
::β::c=x-64v=y-64camera(c,v)
for i=0,l do π
ΎοΈ(c+(i*i-c)%l,v+(i-v)%l,0,i%6)end?"μ",x-3,y-2,6
u=r()if(u<.1)add(z,{x=x+l*π±(l*u),y=y+l*β
(l*u)})
b=btn()if(b>0)q=β¦(b\2%2-b%2,b\8%2-b\4%2)m=π±(q)n=β
(q)x+=m y+=n m=x+m*6n=y+n*6
π
ΎοΈ(m,n,3,9)?""
?p
for e in all(z)do
β,β€=x-e.x,y-e.y
a=β¦(β,β€)u=t()/l+r(β)e.x+=u*π±(a)e.y+=u*β
(a)?"Λ",e.x-3,e.y-2,0
if((β/5.1)^2+(β€/5.1)^2<1)stop()
if(((m-e.x)/5)^2+((n-e.y)/5)^2<1)del(z,e)p+=1
end?"βΆ1βΆc3",0,0
goto β--koz
Leave a comment
Log in with itch.io to leave a comment.
Comments
Thanks to the community for moral support and to Pancelor for a few key minification tips!
So cool, you did it! crazy shorthand stuff going on in your code, I'd be interested in a commented version :)
I've added some comments to explain things a bit, though function and variable names are still obscure:
https://gist.github.com/kozm0naut/2bed76ff9f57133b44569eb766fc1fea#file-srviv-p8
Let me know if you have any questions!
This is another one of these games that I kinda like but I'm really bad at. Smart use of the little double v looking bat sprite.