Love is in the air
Love is in the air... collect love... don't fall down
A game in 555 characters of code for TweetTweetJam 5
This game was made for #TweetTweetJam and contains only 555 characters of code, including art. The code is below:
g,f,h=mid,124,0::s::x,y,z,s,t,o,p=8,32,0,0,1,{},{}for i=1,64do o[i],p[i]={x=i*48,y=60+rnd(40)},{x=500,y=f-i*8,u=1,v=0}end::_::cls(1)t+=.01 b=btn()x+=(b&2)-2*(b&1)x=g(0,x,121)w=64+64*sin(t)for q in all(o)do if(z>0and x==g(q.x-5,x,q.x+31)and y==g(q.y,y,q.y+8))y,z=q.y,-4 rectfill(q.x,q.y,q.x+32,q.y+8,3)q.x-=t end y+=z z+=.2 if(y>140)goto s for q in all(p)do q.x-=q.u q.y-=q.v q.v-=.05r=0 if(q.y>140)r=1 if(q.x==g(x-6,q.x,x+6)and q.y==g(y-8,q.y,y))r=1s+=1 if(r>0)q.x,q.y,q.v=f,w,rnd(3) ?"♥",q.x,q.y,8 end ?"웃",x,y-5,6 ?s.." h:"..h,4,4 h=max(s,h)flip()goto _
Comments
Log in with itch.io to leave a comment.
Nice! It gets pretty tough rather quickly but still fun.
Thanks for playing! I agree, I still have to learn how to adjust difficulty curve properly.
It's a somewhat comical amount of hearts. They just spray all over too.
The screen looked a bit empty and I had already hit the char limit. I thought I could fill the empty space with lots of hearts just overloading the particle system and setting lower gravity for them. More hearts, more love. But they also brought an unexpected side effect: they distract you from getting to the next platform.
They do say love can sweep you off your feet... and, I guess in this instance, into a bottomless pit.
This is good fun, and really nicely presented. Pretty hard though!!
Thanks again! I got it tuned pretty hard, indeed. At first you can go right and focus on getting as many hearts as possible as it's easy to land safe. But when the game gets faster, I think it's better to forget about the hearts, keep to the left side and aim for the higher platforms. I found the balance between scoring and surviving pretty interesting for such a simple game.