I'm trying to make a multiplayer game in HTML5
. I found lance.gg and play around. I modified the Pong game like this.
- remove Paddle (only Ball left)
- set gravity to
(0, 0.1)
- set
Ball.velocity.y = -3
each time keyboard input space bar
And here is result https://youtu.be/MmQOqR71Df0. As you can see, it does not really sync over the window. How can I make it move smoothly between many players?