BALZRLAV
BALZRLAV
Made in 560 chars of Pico-8 for TweetTweetJam 4.
This is a 560 chars long version of Liquidream's "The Ballz are Lava", another Pico-8 game, and quite an addictive one which you can play here: https://liquidream.itch.io/the-ballz-are-lava
Use mouse to grab green dots whil avoiding red ones. Do it as fast as possible to gain time bonus. Each level adds one green and one red dots, all dots positions are kept and the same among all players to allow some "pure skills and no luck" competition.
Indications may be cryptic due to limite code length, UI shows:
- l: current level
- b: time bonus
- s: score
Here's the complete code, just copy & paste in Pico-8 to get the whole game:
poke(24365,1)s=0l=1r=rnd function i()f=1.25t=l srand(0)g={}for n=0,l*2 do v=.3-r(.6)add(g,{x=r(99)+9,y=r(99)+14,v=v,w=.3-v,r=2,c=n%2*5+3})end end i()function _update60()cls(l%2)x=mid(3,stat(32),124)y=mid(11,stat(33),124) g[1]={x=x,y=y,r=3,v=0,w=0,c=7} for h in all(g)do d=sqrt((h.x-x)^2+(h.y-y)^2)if(f<0)then h.x+=h.v h.y+=h.w if(abs(h.x-64)>61)h.v=-h.v if(abs(h.y-68)>57)h.w=-h.w if d<=h.r+4then if(h.c==8)i() if(h.c==3)del(g,h) if(#g==l+1)s+=t+l l+=1i() if(f%1==0)t=max(0,t-1) end end circfill(h.x,h.y,h.r,h.c)end f-=1/64 ?"L"..l.." B"..t.." S"..s,2,2,12 end
Leave a comment
Log in with itch.io to leave a comment.