Skip to main content

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

Canab-8View game page

A clone of @ADAMATOMIC's "Canabalt" in 560 chars
Submitted by Paul Nicholas (Liquidream) — 1 day, 5 hours before the deadline
Add to collection

Play game

Canab-8's itch.io page

How many characters of code did you use?
560

If you're comfortable with it, paste your game code here, so we can marvel at your achievement!
k=camera
f=rectfill
c={13,5,7}j=0s=0v=0z=70g=.2y=-99_set_fps(60)::_::srand()cls(6)x=j*3+25
a=1i=1q=0repeat
b=btn(5)k(j*i,(y*i/3)-z)n=rnd(10)e=i*z+i*n
w=n*4-z
f(q,w,q+e,228,c[i])
if(i>2)then
if(x>=q and x<q+e+9 and abs(y-w)<3)a=0y=w-1
?n<4 and"ˇ ˇ ˇ ˇ ˇ"or n>8 and"▒"or"",q+z,min(w-5,(n<5)and w-(x-q)/3or w)
if(n>8 and a<1 and abs(x-(q+z))<3)cls()s=0
end
q+=e+4^i+n
if(q>3^9)i+=1q=0
until i>3
if(a<1)v=b and-4or 0
p=flr(j)v+=g*a
?(p%8<4 and a<1)and"★"or"웃",x-3,y-4,0
k()if y>128then
if(b)run()
else
j+=.6+s
s+=.0005y+=v
h=t()
end
?p.."m "..h,2,2
flip()goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet