I need time sync on every client by using PhotonNetwork.time like in PUN. Is it possible to provide this property in Construct3 SDK too. Or Do you have other solutions?
We recently added methods getServerTimeMs() and syncServerTime() for LoadBalancingClient in js SDK but they are not yet exposed in the plugin.
For now, you can synchronize clients by sending a message to the master client which replies with the current game time. Correct the received value by message roundtrip time. Use this value and the current time to calculate game time.
PUN and js SDK getServerTimeMs() do basically the same: request server time once, correct it and add the time elapsed since it was received.
Could you update this function to Construct 3 plugin also?
It is quite important in my game play.
Thanks so much.