Every 5 seconds

Add to
My games
Add to
Wishlist
Save to
Collection
No reviews
Exceptional
Meh
Skip

About

You've got 5 seconds to get them all and 5 seconds to run away... rinse and repeat.

A game in 553 characters of code for TweetTweetJam 5

This game was made for #TweetTweetJam and contains only 553 characters of code, including art. The code is below:

_set_fps(60)z,f,m,h,s=mid,124,64,0,0::s::x,y,t,p=m,m,0,{}for i=1,50+s/5do p[i]={x=rnd(f),y=rnd(f)}end::_::cls(1)t+=1/60c=t%10<5and 10or 8rect(0,0,127,127,4)b=btn()x+=(b&2)/2-(b&1)y+=(b&8)/8-(b&4)/4x=z(3,x,f)y=z(3,y,f)for i,q in pairs(p)do ?"●",q.x-3,q.y-2,c u,v=x-q.x,y-q.y b=u*u+v*v if(i%5==3)u/=4 if(i%5==4)v/=4 a=c>8and-.4or.4 a/=(1+b)^.5 if(c>8and b>m*m)a=0 q.x+=a*u q.y+=a*v q.x=z(3,q.x,f)q.y=z(3,q.y,f)if b<16 then if(c<10)s=0goto s s+=1deli(p,i)end end ?"웃",x-3,y-2,12 ?s.." "..h.."⧗"..flr(6-t%5),2,2,13-t%10 if(#p<1)goto s h=max(s,h)flip()goto _
Platforms
Genre
Release date
Developer
SkyBerron
Age rating
Not rated

System requirements for Web

Read more...
Every 5 seconds screenshot, image №2598936 - RAWG
Edit the game info
Last Modified: Nov 13, 2020

Where to buy

itch.io