Play game
TweetPong's itch.io pageHow many characters of code did you use?
560
If you're comfortable with it, paste your game code here, so we can marvel at your achievement!
a=.1
l,x,z,y,s,d,c=24,64,1,a,a,a,0
poke(0x5f2d,1)
m,n,w,e=0,0,0,0
function _update60()
m,n=stat(32),stat(33)
p,r=m+cos(q)*l,n+sin(q)*l
cls(1)
rectfill(48,0,80,128,2)
for i=16,80 do
rect(64-i,48+i,64+i,47+i,3)
end
print(c,62,40)
b,k=(x-64)/z+64,128-z*8-abs(cos(y))*(64/z)
circfill(b,128-z*8,6/z,1)
circfill(b,k,6/z,7)
q=atan2(m-64,n-188)
z+=s
y+=.01
x+=d/2
if z>=8 then
s=-s
c+=1
end
for i=0,l do
circfill(m+cos(q)*i,n+sin(q)*i,4,9)
end
circfill(p,r,16,8)
if sqrt((p-b)^2+(r-k)^2)<24 and z<=1 and z>=0.9 then
s,z=-s,1.1
d+=m-w
end
w=m
if z<0 then run() end
end
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet