Play game
Hungry Bubble's itch.io pageHow many characters of code did you use?
500
Include your code here, if you'd like to show it off!
x={}y={}r={}a=0d=5z=0c=128k=64l=64j=1t=tonum
p=btn
u=circ
function s(j)
r[j]=rnd(10)+d-5x[j]=rnd(c)y[j]=rnd(c)+c+2*r[j]
end
for i=1,6 do
s(i)
end
::o::
cls(1)a+=t(p(1))/2-t(p(0))/2z+=t(p(3))/2-t(p(2))/2a*=.9z*=.9k+=a
l+=z
u(k,l,d,9)
?d
for i=1,6 do
m=x[i]y[i]-=1n=y[i]q=r[i]
if(n<-2*q) s(i)
u(m,n,q,6)
if n<c+q and sqrt((k-m)^2+(l-n)^2)<d+q then
if d<q then
goto e
else
d+=r[i]/8
s(i)
end
end
end
if(k-d<0or k+d>c or l-d<0or l+d>c)goto e
flip()goto o
::e::u(k,l,d,8)
?"press x"
repeat
until p(5)run()
Leave a comment
Log in with itch.io to leave a comment.
Comments
i got 47.2697
I think that's pretty good, as is this game. Nice and soothing.
update: I got 58.7495
Nice! Thanks for checking it out! I think anything around 50 is leaderboard worthy - that's the point at which it more or less becomes unplayable!
I figured 50 would be the maximum but I guess the absolute death would be 64 (half the screen width)
You can theoretically go higher, if one of the last bubbles you pop grows you beyond that! I think the theoretical limit (which is practically impossible) is around 68 or 69!