Play game
Space Shooter's itch.io pageHow many characters of code did you use?
553
Include your code here, if you'd like to show it off!
_set_fps(60)f,m,h,g=128,64,0,mid::s::x,y,w,z,s,t,p=m,96,0,0,0,.3,{}for i=1,999do
p[i]={a=rnd(),y=-i*32}end::_::cls()b=btn()t+=.0001
x+=(b&2)-2*(b&1)y+=(b&8)/4-(b&4)/2x,y=g(3,x,124),g(2,y,125)if z>-6 then
z-=3
else
if(btnp(4))w,z=x,y
end
h=max(s,h)for i=1,999do
q=p[i]q.y+=t
q.a+=t/f
if(q.y>f+3)q.y-=32*999
if g(-3,q.y,f+3)==q.y then
u,v=m+60*cos(q.a),q.y
?"🐱",u-3,v-2,8
if(u==g(w-3,u,w+3)and g(z-2,v,z+2)==v)q.y-=32*999 s+=1 z=-6
if(u==g(x-6,u,x+6)and g(y-2,v,y+2)==v)goto s
end
end
?"|",w-2,z-2,12
?"★",x-3,y-2,10
?"s:"..s.."\nh:"..h,8,8,6
flip()goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet