Play game
Tworbit's itch.io pageHow many characters of code did you use?
553
Include your code here, if you'd like to show it off!
function k(r,a,s,c)
x,y=63+r*cos(a/z),63+r*sin(a/z)
if(c!=8)circ(x,y,2+r/12,c)
?s,x-3,y-2,c
end
z=49p=56q=6s=99t=0n=4l=1u=0e={}
::m::b=btn()q+=b%2-b\2%2q%=z
if(b>15)s,t=p,q
if(s<99)s-=2
if(s<3)s=99
if(u%(50-4*l)<1)add(e,{5,rnd(z)})
flip()cls(0)
?"l"..l.."/9 ★"..n
circfill(63,63,p,l%4)
function proc(f)
r,a=f[1],f[2]
k(r,a,"★",10)
f[1]+=.7+l/9
if(abs(a-q)<2 and abs(r-p)<4)cls(8)stop()
if(r>85)del(e,f)
if(abs(a-t)<2 and s-r<4)s=99n-=1del(e,f)
end
foreach(e,proc)
k(p,q,"🐱",11)k(s,t,"◆",8)u+=1
if(n<1)l+=1n=6
if(l>9)stop("win!",55,61)
goto m
Leave a comment
Log in with itch.io to leave a comment.
Comments
Great job. I also had the idea to do a tempest-style game but I wasn't confident I could make a round version within the character limit so I went for a square. I like your circle more. 👍
Thanks, and getting anything working to fit into the character limits is hard! You might be interested-- I revised it and was able to pack smoother motion and a bit more gameplay (multiple enemies) into 560 characters, though I had to remove sound and a few other details.