Skip to main content

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

srvivView game page

<500 char survivors-type for tweettweetjam9
Submitted by kozm0naut β€” 2 hours, 8 minutes before the deadline
Add to collection

Play game

srviv's itch.io page

How many characters of code did you use?
499

Include your code here, if you'd like to show it off!
l=128x=64y=64c=0v=0p=0m=64n=64z={}r=rnd β˜…=sin 🐱=cos …=atan2 πŸ…ΎοΈ=circ
::β˜‰::c=x-64v=y-64camera(c,v)
for i=0,l do πŸ…ΎοΈ(c+(i*i-c)%l,v+(i-v)%l,0,i%6)end?"웃",x-3,y-2,6
u=r()if(u<.1)add(z,{x=x+l*🐱(l*u),y=y+l*β˜…(l*u)})
b=btn()if(b>0)q=…(b\2%2-b%2,b\8%2-b\4%2)m=🐱(q)n=β˜…(q)x+=m y+=n m=x+m*6n=y+n*6
πŸ…ΎοΈ(m,n,3,9)?""
?p
for e in all(z)do
❎,β–€=x-e.x,y-e.y
a=…(❎,β–€)u=t()/l+r(β–ˆ)e.x+=u*🐱(a)e.y+=u*β˜…(a)?"Λ‡",e.x-3,e.y-2,0
if((❎/5.1)^2+(β–€/5.1)^2<1)stop()
if(((m-e.x)/5)^2+((n-e.y)/5)^2<1)del(z,e)p+=1
end?"⁢1⁢c3",0,0
goto β˜‰--koz

Leave a comment

Log in with itch.io to leave a comment.

Comments

Developer

Thanks to the community for moral support and to Pancelor for a few key minification tips!

Submitted(+1)

So cool, you did it! crazy shorthand stuff going on in your code, I'd be interested in a commented version :)

Developer

I've added some comments to explain things a bit, though function and variable names are still obscure:
https://gist.github.com/kozm0naut/2bed76ff9f57133b44569eb766fc1fea#file-srviv-p8

Let me know if you have any questions!

Submitted(+1)

This is another one of these games that I kinda like but I'm really bad at. Smart use of the little double v looking bat sprite.