Frenetic and fun! Moving seems more dangerous than just firing up!
Play game
Unfinished Journey's itch.io pageHow many characters did you use?
560
Include your code here, if you'd like to show it off!
q=math.random w=240 function h(a,b) return a.x<b.x+b.w and a.x+a.w>b.x and a.y<b.y+b.w and a.y+a.w>b.y end function r(a) circ(a.x,a.y,a.w/2,a.c) end function o(x,w) return {x=x,y=x,w=w,c=q(15),s=q(3)} end p=o(119,14) b=o(0,8) e={} z=0 for x=1,32 do e[x]=o(-8,q(8,28)) end function TIC() cls(0) t=p.x if btn(2) and t>0 then p.x=t-1 end if btn(3) and t<w then p.x=t+1 end if btnp(4) then b.x=t b.y=p.y end b.y=b.y-4 r(b) r(p) for k,v in pairs(e) do v.y=v.y+v.s r(v) if h(v,b) or v.y>w then v.y=-q(w) v.x=q(w) z=z+1 elseif h(v,p) then reset() end end print(z) end
Leave a comment
Log in with itch.io to leave a comment.