@jdbc i want to ask about your sample project using this library. Is the ball's movement also synced between devices like the paddle? Or its not, the ball going on their own but still on the same route on each device?
You only need to communicate paddle movement to update paddle position. Within GameScene:onEnterFrame function:
For instance if paddle red is moving in device 1, publish a message in the private channel to update paddle red in device 2 and box2d does the rest in both devices.
Comments