Double Flappy
Guide the two flappy things through the gaps in the walls. Fun x2 (almost) guaranteed!
Controls: Left/Right: flap left/right thing.
A game in 550 characters of code for TweetTweetJam 5
This game was made for #TweetTweetJam and contains only 550 characters of code, including art. The code is below:
_set_fps(60)cls(1)z,r,f,m,h=mid,rectfill,128,64,0::s::x,y,u,v,t,p=m,m,0,0,0,{}for i=1,999do p[i]=32+rnd(m)end::_::for i=1,999do pset(rnd(f),rnd(f),1)end t+=.5w=flr(t/m)h=max(h,w)x-=u y-=v u-=.025v-=.025 if(btnp(0))u=.9 if(btnp(1))v=.9 r(0,0,f,0,4)r(0,127,f,127) ?"➡️",16,x,10 ?"➡️",64,y,12 for i=1,f do a,b=i*m+m-t,p[i]if z(-6,a,f)==a then r(a,b-f,a+6,b-20,4)r(a,b+f,a+6,b+20,4) if(a==z(10,a,22)and z(b-19,x,b+15)!=x)goto s if(a==z(58,a,70)and z(b-19,y,b+15)!=y)goto s end end if(x!=z(x,124)or z(y,124)!=y)goto s ?"s:"..w.."\nh:"..h,8,8,15 flip()goto _
Comments
Log in with itch.io to leave a comment.
Nice! The physics feels right and the challenge feels much more fair than a lot of FB inspired games. It's tough as heck but not frustratingly so.
Thanks for playing!
Surprisingly tricky to juggle both of them. Very cool.
Thanks. This game should test if your brain is able to attend two different tasks at the same time ;). Hmmm, not really, but I found it requires a lot of focus and the pixel fading effect I added just because code was well under the char limit, doesn't help.