Skip to main content

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

Treasure finderView game page

A tiny treasure hunting game
Submitted by Craig Tinney (@ctinney94) β€” 2 days, 13 hours before the deadline
Add to collection

Play game

Treasure finder'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!
r=rnd s=sin c={1,7,13,15,3,11}o=64u={-1,1,0,0}p=1l=r()t=0i=o+o*s(l)j=o-o*cos(l)v=24z=o::q::flip()t+=.01cls(12)camera(v-o,z-o)for i=1,6 do srand(l)for j=0,19+r(9)do if i<4then w=43-i+4*s(t)else w=36/(i-3)end if(i<2)w=45 circfill(o+s(r())*w,o-s(r())*w,w,c[i])n=print if(i<5)n("웃",v,z,4) x=o+s(t/7)*22y=o-22*s(t/4)end end if(btn(5))run() d=sqrt((i-v)^2+(j-z)^2)/128if p>0then if(t%d>d/2)circ(v+3,z+2,6,10) if(d<.05)n("β˜…",i-2,j-2,9)n("t𝘳𝘦𝘒𝘴𝘢𝘳𝘦 𝘧𝘰𝘢𝘯π˜₯!",v-o+36,z-o+2)goto q end p=1 for i=1,4 do if(btn(i-1)and pget(v+u[i],z-u[5-i])!=12)p=0v+=u[i]z-=u[5-i]end goto q

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet