A game made in 560 characters for TweetTweetJam 4. The sound effects are generated from the poke commands at the top. The note pattern is random and can be a little unfair at times. I wanted to try a smarter way to generate the notes, but with 560 characters, there's not much room.

Z or C - Top line
X or V - Bottom line

poke4(0x3200,0x5ba4.380c)poke2(0x3204,0x6911)poke2(0x3240,0x1001)
c=0h=0t={}m={}o=0p=0_set_fps(60)
::e::cls()rect(-1,56,128,72)circ(15,56,4)circ(15,72,4)p-=1o-=1m[4]=1m[5]=1
if(rnd(25)<1 and o<0)add(t,{x=127,y=53,b=4})o=12
if(rnd(25)<1 and p<0)add(t,{x=127,y=69,b=5})p=12
for i in all(t)do
i.x-=1
?"♪",i.x,i.y,12
if(btnp(i.b)and i.x>=8 and i.x<=20)sfx(0,0,i.b-4,1)del(t,i)c+=1m[i.b]=0
if(btnp(i.b)and m[i.b]>0)sfx(0,0,2,1)c=0
if(i.x<0)del(t,i)c=0
end
if(c>h)h=c
?"combo: "..c,5,5,6
?"high: "..h,90,5
for i=0,4 do
?"웃웃웃웃웃웃",40+m[4]-m[5],100+i*6
end
flip()goto e

If you're looking for a more readable version of the source code, I added comments to it on the game's pico8 page.

StatusReleased
PlatformsHTML5
AuthorZeepso
GenreRhythm
Made withPICO-8
Tags2D, PICO-8
Average sessionA few seconds
InputsKeyboard
AccessibilityColor-blind friendly, Textless

Leave a comment

Log in with itch.io to leave a comment.