ALL CONSUMING

Story

The loose dirt makes moving difficult, but your arm is nearly freed. Dust from the cave in makes it hard to make out anything more than rough shapes, but you can hear a rumbling. The ground shifts suddenly, dumping you on the caves newfound floor. The rumbling is clearer, a grinding gurgling hum.

Scrambling to your feet, the walls fall away and are replaced with teeth. At least, it must be. There's little else to see in the dark. There's more than one. Huge and yet frantically breaking down anything in the path towards you.

You sprint. They destroy the cave from all angles. The faintest light.

For a brief moment, you're dazzled, then it goes dark. You can't move again. Soil and small sotnes fall. An electricity across the back of your head. You hear the gurgling. How long have you been down here?  They're the least of your worries.

How to play

Escape the cave, don't get eaten. Repeat.

Controls

arrow keys to move

Credits

Made for TweetTweetJam 9 by Ben Jones I used my previous pico1k and tweet tweet jams for reference, as well as kometbomb's size optimisation guide.

Code

Code is 500 characters on the nose

r,b,s=rnd,btn,mset::k::c=8e=999n={}m={}memset(0,68,e)z=.1x=8.5y=9h=100for i=0,e do
s(r(30),r(30),r(8))poke(r(e),18)n[i]=r(h)-50m[i]=r(h)-50s(n[i%9],m[i%9])end::_::u,v=x,y
if(b(0))x-=z
if(b(1))x+=z
if(mget(x,y)>0)x=u
if(b(2))y-=z
if(b(3))y+=z
if(mget(x,y)>0)y=v
cls()map()for i=0,99do
u=n[i]v=m[i]q=r()/12u+=q*sgn(x-u)v+=q*sgn(y-v)s(u,v)n[i],m[i]=u,v
l,j=u-x,y-v?"☉",u*8-4,v*8-4,9
if(l*l+j*j<z)h-=2end?"웃\n"..h,x*8-4,y*8-4,7
if(y%16<1or x%16<1)h=min(h)c=7
if(h<1)cls(c)h-=1
if(h<-e)goto k
flip()goto _

Leave a comment

Log in with itch.io to leave a comment.