made for TweetTweetJam 5, the game jam where you make a game in less than 560 characters! (aka 2 tweets)

controls:
* arrow keys: move
* x: restart level
* ctrl-r: restart game
* ctrl-m: mute

My highscore is getting to level 11; can you beat that?

Check out my blog post for my thoughts, and a small breakdown of two cool tricks I used!

Here's the tweet, and here's the code: (555 characters)

l=1poke2(12800,582)r=rnd::t::q=""g=128h=1.5f={64,64,h,0}for i=5,g,4do
f[i]=r(g)f[i+1]=r(g)f[i+2]=r(2+l/4)f[i+3]=r(3)-1end::b::cls(1)u=0for i=1,#f,4do
x=f[i]+f[i+3]if i<2then
b=btn()x+=b\2%2-b%2f[i+1]+=b\8%2-b\4%2end
f[i]=x%g
y=f[i+1]s=f[i+2]u+=s
for j=i+4,#f,4do
w=f[j+2]e=s+w
if e>abs(x-f[j])and e>abs(y-f[j+1])then
k=j+i
if(s<w)j=i
k-=j
f[j]=j
sfx(0)f[j+1]=-9f[j+2]=0f[k+2]+=w/8if(j<2)q="lose\n ❎"end
end
ovalfill(x-s*h,y-s,x+s*h,y+s,8+i%7+sgn(i-2))end
?l,62,4,7
if(u==f[3])q="win!\n ❎"l+=1
flip()::a::
if(btnp(5))goto t
if(#q<1)goto b
?q,56,64,7
goto a

If you want to change what level you start on, copy this code into your local PICO-8 console and change the l=1 at the very beginning to a higher number.

StatusReleased
PlatformsHTML5
Rating
Rated 4.7 out of 5 stars
(3 total ratings)
Authorpancelor
GenreAction
Made withPICO-8
Tags2D, Arcade, Short
Average sessionA few minutes
InputsKeyboard, Xbox controller, Gamepad (any), Playstation controller
AccessibilityHigh-contrast, Textless
LinksBlog

Comments

Log in with itch.io to leave a comment.

(+2)

I didn't realize there was a finite number of fish until I had already eaten most of them. It took me a while to realize that the goal was to clear the screen, I kept eating fish and wondering why my score wasn't going up.

Sound effects are cool! I like how the enemy fish can eat each other.