Play game
Laser Rain (Tweet Tweet Jam Game)'s itch.io pageHow many characters did you use?
512
Include your code here, if you'd like to show it off!
b=rectfill c=print h={}k={d=64,f=120,e=6,g=4}l=0m=0::_::cls()if(k~=nil) then if(btn(0) and k.d>4)k.d-=4 if(btn(1) and k.d<118)k.d+=4 end for n in all(h) do d=3+flr(l/300) if(d>10)d=10 n.f+=d b(n.d,n.f,n.d,n.f+n.g,8+l%3) if(k~=nil and k.d<n.d+n.e and k.d+k.e>n.d and k.f<n.f+n.g and k.f+k.g>n.f) k=nil if(n.f>=128) n.f=-128 n.d=flr(rnd(120)) end if(l%60==0 and #h<50 and k~=nil)add(h,{d=flr(rnd(114)+4),f=-8,e=1,g=8}) c("score "..m) if(k~=nil)c("‚",k.d,k.f,7)m+=1 if(k==nil)c("game over",48,64,7) l+=1flip()goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet