Play game
Lightspeed Hero (Tweet Tweet Jam Game)'s itch.io pageHow many characters of code did you use?
560
Include your code here, if you'd like to show it off!
g=flr h=rnd i=btn j=add k=128l=120p={x=64,y=64}u=100m={}t=0c=0d=rectfill v=all e=circfill f=print::_::cls() if(i(0)and p.x>0)p.x-=2 if(i(1)and p.x<l)p.x+=2 if(i(2)and p.y>0)p.y-=2 if(i(3)and p.y<114)p.y+=2 for r in v(m)do r.x+=r.b if(p.x+8>r.x and p.x<r.x+8and p.y+5>r.y and p.y<r.y+8and c>0and c<u)c+=r.b if(r.x<-8)del(m,r) end if(t%15==0and c<u)c+=1for i=1,(1+g(c/30))do j(m,{x=k+h(16),y=h(112),b=-g(h(g(c/20)))-1})end t+=1for r in v(m)do e(r.x+4,r.y+4,4,4)end f("\140",p.x,p.y,8)d(0,l,k,k,0)d(0,l,c,k,8)f(c,116,l,7) if(c>=u)f("win!",56,56,8) flip()goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet