Play game
Mini Soccer Simulator 500's itch.io pageHow many characters of code did you use?
500
Include your code here, if you'd like to show it off!
_set_fps(60)m=64x=64y=64e=0f=-1p={}n=5l=10s=0::_::cls(3)n-=.1for i=0,3do
a=i*48-y%48rectfill(0,a,128,a+24,5)end?s,7
b=btn()u=(b&2)/2-(b&1)v=-(b&4)/4x=mid(6,x+u,115)y+=v
if(u!=0or v!=0)e,f=u,v
z=x+e*6w=m+f*6if(n<0)add(p,{x=x+rnd(m)-32,y=y-m,u=0,v=1})l*=.99n+=l
for q in all(p)do
q.x+=q.u
q.y+=q.v
c=m+q.y-y
a=z-q.x
b=w-c
if(c>128)del(p,q)s+=1?"\ascd"
d=(a*a+b*b)^.5?"웃",q.x,c,9
if(d<4)run()
if(q.d)?"4",q.x+2,c+1
if(q.d!=1and b>0and d<40)q.d=1q.u=a/d*2q.v=b/d*2
end?"●",z,w,15
?"웃",x,m,12
flip()goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
Very cute, even if you never get to score a goal.
Shooting at goal and passing the ball to teammates are features planned for the next installment of this great game. Thanks! 😅