Tastebud Tap Dancer
You've been swallowed by a giant serpent but you're trying to make the best of it.
My entry for #tweettweetjam 9, written using exactly 500 characters for the source code.
Features:
* Some physics
* hearts that help you
* ninja stars that hurt you
Play it here: https://itch.io/jam/tweettweetjam-9/rate/2696466
Full source in reply.
#pico8 #sizecoding #tweetcart

Tastebud Tap Dancer by AndyMakes for TweetTweetJam 9
A 500 char game written for #tweettweetjam 9
itch.iop={x=9,y=9,v=0,t=1}l={p}j=0h=3s=0::_::cls()if(h>0)s+=.04b=btn()if(b<4)p.v=max(p.v,1)
if(b*j>3)p.v=-5
b=b%4if(b>0and b<3)p.x+=(b*2-3)*2
if(rnd()<s/999+.02)add(l,{x=120,y=0,v=0,t=4-rnd(1.1)},1)
for i=0,128do line(i,87-sin(i/60+s)*9+sin(s)*i/9,i,128,14)end
for o in all(l)do
t=o.t
o.v+=.3o.y+=o.v
j=0z=o.x
while(pget(z,o.y)>9)o.v=1o.y-=1o.x=z-t/2j=1
d=abs(p.x-o.x)+abs(p.y-o.y)<7and t>1if(d)h-=t\1*2-5
?("웃♥✽")[t],o.x-3,o.y-5,6+t
if(o.x*h<1or d)del(l,o)end
if(p.x<0)h=0
?"♥"..h.."\n"..s,9,9
flip()goto _
And now I can check out the other submissions so far!
Hmm, I managed to shave 3 chars off my
#TweetTweetJam game. 3 more and I can add something I had to cut...
While writing a commented version of my code, I managed to shave a bunch more characters off my #TweetTweetJam entry allowing me to fix exploits that so far nobody found: you could run off the right side of the screen and safely get infinite points! You also would not die out of bounds if you held jump
Now both sides of the screen kill you.
Updated version here:
https://andymakes.itch.io/tastebud-tap-dancer
Updated source in reply.
I'll try to get some commented code up tonight or tomorrow
#pico8 #tweetcart

Tastebud Tap Dancer by AndyMakes
A 500 char game written for #tweettweetjam 9
itch.iop={x=9,y=9,v=0,t=1}l={p}h=3s=0a=abs::_::cls()if(a(p.x-64)>63)h=0
if(h>0)s+=.04b=btn()if(b<4)p.v=max(p.v,1)
if(rnd()<s/999+.02)add(l,{x=122,y=0,v=0,t=4-rnd(1.1)},1)
for i=0,128do line(i,87-sin(i/60+s)*9+sin(s)*i/9,i,128,14)end
for o in all(l)do
t=o.t
o.v+=.3o.y+=o.v
j=0z=o.x
while(pget(z,o.y)>9)o.v=1o.y-=1o.x=z-t/2j=1
d=a(p.x-o.x)+a(p.y-o.y)<7and t>1if(d)h-=t\1*2-5
?("웃♥✽")[t],o.x-3,o.y-5,6+t
if(o.x*h<1or d)del(l,o)end
?"♥"..h.."\n"..s,9,9
if(b*j>3)p.v=-5
b=b%4if(b%3>0)p.x+=(b*2-3)*2
flip()goto _