Is your feature request related to a problem? Please describe.
To make a robust networked game, we need to allow players that lose internet connection to reconnect and continue playing the game.
From playing the examples, I cannot reconnect after disconnecting.
Describe the solution you'd like
Ideally, the code in the examples would just work with clients that are catching up from far behind.
Likely the best option is for remote players to share the state snapshot and any inputs for the reconnecting player so that player can replay from that state.
Describe alternatives you've considered
Alternatively, all inputs can be recorded and a reconnecting player can replay the entire game. This does not require state to be shared, but requires more and more work as the game runs longer. Additionally, all user inputs would have to be stored from the beginning of the game.
Is your feature request related to a problem? Please describe.
To make a robust networked game, we need to allow players that lose internet connection to reconnect and continue playing the game.
From playing the examples, I cannot reconnect after disconnecting.
Describe the solution you'd like
Ideally, the code in the examples would just work with clients that are catching up from far behind.
Likely the best option is for remote players to share the state snapshot and any inputs for the reconnecting player so that player can replay from that state.
Describe alternatives you've considered
Alternatively, all inputs can be recorded and a reconnecting player can replay the entire game. This does not require state to be shared, but requires more and more work as the game runs longer. Additionally, all user inputs would have to be stored from the beginning of the game.