losteth0

OrbitalPong for #TweetTweetJam

Nov 17th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.68 KB | None | 0 0
  1. m=64
  2. function d(ˇ,)=m+ˇ*cos()=m+ˇ*sin()end
  3. function e(V)return.004*V end f=rnd g=circ h=circfill i=btn
  4. k=time l=128n=.5o=54p=1.25=0=0=0=0=2=n 웃=0=k()::::for Z=0,255 do h(f(l),f(l),f(3,8),0)end
  5. if i(1)then if<p then+=e(8)end end if i(0)then if>-p then-=e(8)end end if not i(0)and not i(1)then if>0 then-=e(8)else+=e(4)end end
  6. +=
  7. +=*40+=
  8. d(o,e()),=,
  9. d(e(),e()),=,
  10. if(k()>+n and<+5 and>-5 and<+5 and>-5)=*-p ☉=*-p for Z=0,8 do+=*40+=end+=1
  11. print(,0,o,7)g(,,2)g(m,m,o)h(,,3)flip()goto █
Add Comment
Please, Sign In to add comment