Play great game
Paddle's itch.io pageHow many characters of code did you use?
519
Include your code here, if you'd like to show it off!
cartdata("paddle")c=btn p=dget(0,p)o=rectfill function v()r=rnd(-1)e=0w=64x=32y=0a=w d=1g=1f=1l=128s=w end v()::b::flip()cls(1) if(c(0)and x>0)x-=2*g if(c(1)and x<l-w)x+=2*g for i=0,l do circ(8*i%l,8*i%l,r*i%l,5)end a+=d*g s+=f*g if(a>l or a<0)d=-d*g ?"\ab" if(s>l)f=-f*g ?"\ab" if(s<0)v() if(a>x and a<x+w and y+9>s and y<s)s=y+9 f=-f*g e+=1y+=1w-=.5 g+=.001 ?"\ab" if(g>5)g=5 if(w<32)w=32 if(e>p)p=e dset(0,p) o(x,y,w+x,8+y,9)o(a-4,s-4,a+4,s+4,9) ?e,x+w/2,y+2,5 ?"hiscore "..p,0,l-16,9 ?"by yopenatal",0,l-6 goto b
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet