Skip to main content

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

NanoStackView game page

A 540 character stacking game for the TIC-80
Submitted by daves84 — 4 days, 8 hours before the deadline
Add to collection

Play game

NanoStack's itch.io page

How many characters of code did you use?
540

Include your code here, if you'd like to show it off!
t=0 x=0 w=30 c=1 s=0.5 u={} v={} function TIC() cls(10) rect(0,126,240,10,14) for i=1,#u do for j=1,8 do rect(u[i]+j*3,126-i*10,70-(i*5)-j*6,10,17-j) end end for j=1,8 do rect(x%240+j*3,126-c*10,70-(c*5)-j*6,10,17-j) end if btnp()>0 then t=0 for i=x%240,x%240+70-(c*5) do if pix(i,126-c*10+10)~=10 then t=1 end end if t==0 and c>1 then u={} c=1 x=0 else u[c]=x%240 c=c+1 x=0 end end if c==13 then u={} c=1 x=0 s=s+0.5 end print("Level "..math.floor(s/0.5)) x=x+s t=t+1 end

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet