Play game
Froggy Frogger's itch.io pageHow many characters did you use?
560
Include your code here, if you'd like to show it off!
::t::
a=rnd
e=32x=128
function h(x)return(z+x)%7
end
function u(n,m)d=x for i=n,m
do
w=sqrt(c[i]*c[i]+v[i]*v[i])if(w<d)then
d=w
j=c[i]k=v[i]z=i
end
end
end
y=0s=0p=0v={}c={}r={}l=0q=0k=x
for i=0,6 do
c[i]=a(e)v[i]=a(e)-i*e
r[i]=a(8)+7
end
c[0]=0v[0]=-2::_::y-=s
s-=1if y>=0then
u(0,6)v[h(4)]=-x
if(d>r[z])goto t
y=0
if btn(⬆️)then
p=min(p+1,12)
else
s=p
if p>0then
u(h(1),h(1))l+=1
end
p=0
end
else
for i=0,6 do
c[i]-=j/d*2v[i]-=k/d*2end
end
cls(1)for i=0,6 do
circfill(c[i]+64,v[i]+84,r[i],3)end
?'★',61,80+y+sqrt(p),11
?'()',61,84+y,11
?l,64,16,7
flip()goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
Nice game, though I got stuck in a weird loop. I included it in my TweetTweetJam 2 compilation video series, if you’d like to take a look. :)
Hey, there!
The game has some bugs that I wasn't able to fix, due to the character limit. I guess you got bad luck on your play, but thanks for putting it in your video anyways!