Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
A jam submission

TTRUNView game page

Infinite runner in less than 560 characters
Submitted by Once — 5 hours, 25 minutes before the deadline
Add to collection

Play game

TTRUN's itch.io page

How many characters of code did you use?
556

Include your code here, if you'd like to show it off!
t=true f=false q=print r=rnd
g={{0,96,256}} d=t e=f
a=.2 j=-3 v=0
x=12 y=40 z=0 w=40
function _update()
if(e)return
d=t
for p in all(g)do
if x>p[1] and x<p[1]+p[3] and d then
if(y+6+v>=p[2])y=p[2]-5 d=f v=0
end
if(p[1]<=-p[3])del(g,p)
p[1]-=2+z/10
end
p=g[count(g)]
if(128-p[1]-p[3]>w)w=10+r(40)add(g,{128,80+r(32),64+r(32)})z+=1
if(btn(2)and d==f)d=t v=j
if(d)v+=a y+=v
end
function _draw()
cls()
q("⬆️",64,32,7)
k=0
for p in all(g) do
if(p[2]>k)k=p[2]
end
if(y>k)e=t
for p in all(g)do
rectfill(p[1],p[2],p[1]+p[3],p[2]+8,9)
end
q("웃",x,y,12)q(z,1,1)
end

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet