So I am making an online game with AppWarp, and I should use de UTC time and velocity to guess the position of the ball (Pong Game).
My game uses Libgdx, and its actors uses Scene2d. They move by the method moveBy(x,y); which it means to add X and Y to its actual position. (I think it uses pixels)
So I dont know how to calculate the velocity to calculate and guess where the ball is at the moment. I have thought about sending the actual position and the UTC time. Then when I have received the position and the UTC time, I should calculate the time it has last for the information to arrive and ..?
The velocity is constant: moveBy(600,300); Any idea?