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

OctagonView game page

Avoid the lines that are closing in. Move with the arrows, retry with X. Made for TweetTweetJam6
Submitted by Omael (@gnomael) — 1 day, 16 hours before the deadline
Add to collection

Play game

Octagon's itch.io page

How many characters of code did you use?
569

Include your code here, if you'd like to show it off!
cartdata("o") k,d,z,y,t,w,a,f,s,c,b=.125,12,0,dget(0),0,63.5,0,{},sin,cos,btn::⌂::t+=1cls(1) if(b(➡️))a+=k/5 if(b(⬅️))a-=k/5 ?z<2 and"⬅️ ➡️"or"octgn",54,w,2 if(t%30==0)add(f,{flr(rnd()*8),w,0}) for e in all(f)do e[2]-=1.5 if(e[2]<1)del(f,e)z+=1 for j=0,3 do for i=0,5 do line(w+c((e[1]+i)*k)*(e[2]+j),w+s((e[1]+i)*k)*(e[2]+j),w+c((e[1]+1+i)*k)*(e[2]+j),w+s((e[1]+1+i)*k)*(e[2]+j),8)end end end if(pget(w+c(a)*d,w+s(a)*d)==8)goto 😐 ?"score:"..z,8,1,2 ?"best:"..y,90,1 pset(w+c(a)*d,w+s(a)*d)y=max(y,z)flip() goto ⌂ ::😐:: ?"retry? ❎",48,w,7 dset(0,y) if(b(❎))z=0goto ⌂ goto 😐

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet