Action · 2020 · Released
SkyBerron · November 6, 2020 · Web
Nobody has tracked this yet.
Dodge The Missiles A game in 555 characters of code for TweetTweetJam 5 Avoid the missiles that the evil balls shoot at you. This game was made for #TweetTweetJam and contains only 555 characters of code, including art. The code is below: f,m,h,z=128,64,0,mid::s::x,y,t,p=m,m,1,{}_set_fps(60)::_::flip()for i=24576,32767do poke(i,@(i)/3)end t+=.01b=btn()x-=(b&1)-(b&2)/2 y-=(b&4)/4-(b&8)/8 x,y=z(x,f),z(y,f)for i=1,5 do a=t+i/5 u,v=m+m*cos(a),m+m*sin(a) ?"●",u-3,v-2,8 c,d=x-u,y-v e=(1+c*c+d*d)^.5 if(rnd()<t/1000)add(p,{x=u,y=v,u=c/e,v=d/e}) end s=flr(t)h=max(h,s)for i,q in pairs(p)do u,v=q.u,q.v l...
Be the first to rank it.
Be the first to review Dodge The Missiles (SkyBerron).