Skip to main content

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

Tweet Tweet TronView game page

Tron style game for TweetTweetJam4
Submitted by Pixel Shock (@pxlshk) — 2 days, 16 hours before the deadline
Add to collection

Play game

Tweet Tweet Tron's itch.io page

How many characters of code did you use?
559

Include your code here, if you'd like to show it off!
q=1srand(542)for a=0,3 do for i=1,rnd(25)do poke(12868+a*68+i,rnd(128))end end m=flip b=btn::s:: if(btnp(0))q-=1 if(btnp(1))q+=1 q%=4 ?"⬅️ "..1+q.." ➡️ (🅾️ play)" if(not b(4))m()goto s cls()p={}for i=0,q do add(p,{i=i,x=i*32,y=64,a=0.25})end::l::a=0 for i in all(p)do if i.d then if(i.d<5)i.d+=1 circ(i.x,i.y,i.d,8+i.d/2)a+=1else if(b(0,i.i))i.a+=.02 if(b(1,i.i))i.a-=.02 i.x+=cos(i.a)i.y+=sin(i.a)k=i.i+10i.x%=128i.y%=128 c=pget(i.x,i.y) if(c>0 and c~=k)i.d=0sfx(3) pset(i.x,i.y,k)end end if(a>#p-2)sfx(1)goto w m()goto l::w:: ?(k-9).." wins!",46,62,k m()goto w

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet