Pong game using construct 2 with photon
Hello guys, I have made simple pong game just for seeing if photon can be used to make smooth multiplayer games.
But I am facing serious issue now.
Consider a scenario : A ball in pong game moves on its own and the moment change happens only either paddle hits the ball or ball gets hit on walls.
I have used every Tick event ( which is just to show that this event runs every tick i know that)
Ball only moving at player 1's game and player 1 sends ball position every tick to player 1.
But I am facing extreme lag as if Data is getting loss in between and not receiving all the data sent.
So then I have used another approach of sending angel of motion and bullet speed to both players and that how Ball is moving smoothly until paddle hits ball which can change paddle's angel and then both balls are going in different directions.
I am confused whether photon is not giving smoothness or maybe I'm doing something wrong
https://drive.google.com/file/d/1Da0X2VXIpGzbUuhKnmXTlOAhFtCPLtQG/view?usp=drivesdk