Play game
Footy 560's itch.io pageHow many characters of code did you use?
560
Include your code here, if you'd like to show it off!
o,f,g,h=0,circfill,rectfill,rnd::a::
?"\adc"
s,e,v,r=0,130,.02,{}for i=1,e do add(r,{h(e),h(e),h(16)})end::b::x,y,b,a,l,d,c,z,u=28+h(80),90+h(20),e,e,0,0,0,20+h(72),6+h(40)::c::cls(3)for m in all(r)do pset(m[1],m[2],m[3])end if btn(5)and e==b then
?"\ac1"
b,a,l,d=x,y,(j-x)/2,(k-y)/2end j,k=x-sin(c)*8,y-cos(c)*8g(z,u,z+30,u+8,7)line(x,y,j,k)
?s.." ("..o..")"
f(x,y,5,2)g(z+4,u+4,z+4+22,u+8,3)f(b,a,2,6)
?"❎",x-3,y-2
if b>z+2and b<z+28and u<a and a<u+5then s+=1
?"\ace"
v+=.001goto b end
if(e<b or e<a or b<0or a<0)o=max(s,o)goto a
b+=l a+=d c+=v flip()goto c
Leave a comment
Log in with itch.io to leave a comment.
Comments
Your game is good but I am terrible at it :D
Congratulations!
Haha, thank you very much! And no worries, it's really hard. :D
really fun for such a simple game! Next time, you could cut down the number of characters a bit by assigning functions used multiple times to a short variable, then using that to call the function. For instance `C=circfill;C(x,y,5,2)C(b,a,2,6)` is the same as `circfill(x,y,5,2)circfill(b,a,2,6)` but is a few characters shorter. You could gain even more by using `R=rnd` and replacing each `rnd()` call.
Ha, thank you very much! :)
I actually immediately started doing all those things after seeing them in Zep's entry (Void Roller) yesterday. Managed to squeeze in a couple more sound effects and highscore tracking (per session) this way.