This simple 2-player pong game uses canvases to control the left and right paddles.Touch the Player 1 Serve 'button' to start the game. Both paddles can be moved at the same time this way.
TwoPlayerPong.aia (12.8 KB)
This simple 2-player pong game uses canvases to control the left and right paddles.Touch the Player 1 Serve 'button' to start the game. Both paddles can be moved at the same time this way.
TwoPlayerPong.aia (12.8 KB)
How to move up and down the paddle?
What would happen if two people simultaneously moved their respective paddles?
it looks like the pong can penetrate the paddle.
Drag your finger on either of the outside canvases.
Each would drage their finger on either of the outside canvases.
To prevent this, either the ball can be slowed down (not ideal) or the paddle can be made thicker (wider -- better).
or slower speed and smaller internval.
Thanks.