Play game
360 Pico 8 Ping Pong's itch.io pageHow many characters of code did you use?
482
Include your code here, if you'd like to show it off!
z=0::_::o=0f=0e={64,64,.5,.5}d=0n=0function _update60()if(btn(0))f-=.015
if(btn(1))f+=.015
e[1]+=sin(e[3])*e[4]e[2]+=cos(e[3])*e[4]if(d==1)e[3]=e[3]+rnd(.1)-.2e[4]=e[4]*-1.03d=2
if(d==2)n+=1
if(n>20)n=0d=0
if(e[1]>128or e[1]<0or e[2]>128or e[2]<0)goto _
end function _draw()cls()i=0u=0while i<.08do for n=-4,0do h=sin(i+f)*(64+n)+64r=cos(i+f)*(64+n)+64pset(h,r,n-6)if(d==0and e[1]\1==h\1and e[2]\1==r\1)o+=1z=max(o,z)d=1
end i+=.001end?"●",e[1]-2,e[2]-3,7
?o,20,2,9+d
?z,100,2,7
end
Leave a comment
Log in with itch.io to leave a comment.
Comments
This is conceptually similar to Spiral Pong but I think I prefer this purely on the basis that its much more forgiving and less headache inducing.
Oh snap, just saw- Looking at it I do think Spiral Pong is cool in a few of it's own ways! Much more visually fun. Although yeah controls are a bit of a gimmick of it's own right in Spiral Pong. Glad I didn't see it before posting mine!