Log In  


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

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 _
9


1

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


804


Got all the way to 1111 and stopped there, since I have homework to get to.


tbh, I lost interest after passing 3000 Points^^



[Please log in to post a comment]