Skip to main content

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

BellyFishView game page

A jellyfish game in 500 characters of code
Submitted by The4thCircle (@The4thCircle) — 2 days, 15 hours before the deadline
Add to collection

Play game

BellyFish's itch.io page

How many characters of code did you use?
495

Include your code here, if you'd like to show it off!
camera(-64,-64)⧗,g=mid,{"⬅️",0,"➡️"}
::❎::x,y,u,v=0,0,0,0f,p={},0?"\ac0",0,0
::🅾️::if(#f<(p\2)+1)d=(rnd(2)\1)-.5add(f,{d*128-4,rnd(120)-64,d*-2})
z=0cls(1)u*=.9v*=.9v+=.2
if(btnp(⬅️))u-=2v-=2
if(btnp(➡️))u+=2v-=2
x+=u y+=v
?"▥",x,y+4,10
?"❎",x,y,14
x=⧗(-60,x,55)y=⧗(-60,y,58)for l in all(f)do
q,w,d=unpack(l)q+=d?g[d+2],q,w,(w&7)+8
j,k=q-x,w-y
h=(abs(j)<8 and abs(k-2)<7)l[1]=q
if(h and k>4)p+=1del(f,l)?"\ac",0,0
if(h and k<=4)z=1
if(abs(q)>67)del(f,l)
end?p,-63,-63,7
flip()if(z>0)goto ❎
goto 🅾️

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet