Play game
Double Flappy's itch.io pageHow many characters of code did you use?
550
Include your code here, if you'd like to show it off!
_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 _
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet