Log In  

Cart #endlessrunner_tweet-0 | 2020-08-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

An endless runner made in <280 characters. Post your best scores!

x=9y=0v=0t=0p={}r=rectfill::_::cls()
?flr(t/10),2,2,7
r(0,90,200,200,3)v+=.2t+=1
if(t%60==0)add(p,{x=128,y=rnd(40)+50})
for l in all(p)do l.x-=1r(l.x,l.y,l.x+30,l.y+99)end
while pget(x+4,y+4+v)==3do v-=sgn(v)*.2end
if(btn(4)and pget(x,y+5)==3)v=-4
y+=v
?"웃",x,y,7
flip()goto _
P#81377 2020-08-30 18:41

1

Got about 155, could probably do 256 if I wasn't neglecting my bedtime.

P#81420 2020-09-01 10:18

804

P#84151 2020-11-12 14:30

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2021-01-23 20:33 | 0.017s | 4194k | Q:31