You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
THNK should not stop working when swithcing scenes, here is how it should behave:
On the client
Full scene switch
Stop the THNK client and start the next scene in normal singleplayer mode
Pausing the scene
Don't disconnect from the server yet, and launch the scene in singleplayer mode. The server will not send any state updates while paused. If resumed, the server will send back a full scene snapshot again. If the scene is topped while paused, the server will finally see the client as disconnected.
Returning to paused scene
Stop the THNK client and go back to to the previous scene in singleplayer mode.
On the server
Full scene switch
Tell all the clients to switch to that scene as well, run the connection event for all connected clients on the new scene, and send a snapshot of the scene after running a first tick to all clients.
Pausing the scene
Tell all the clients to pause the current scene and go to that scene as well, run the connection event for all connected clients on the new scene, and send a snapshot of the scene after running a first tick to all clients.
Returning to paused scene
If the server returns to the scene before it was a server, close the THNK server.
Else, send a message to all players telling them to go back to the previous scene, and send to the players that have joined after the pausing the scene state at the moment of pausing.
The text was updated successfully, but these errors were encountered:
THNK should not stop working when swithcing scenes, here is how it should behave:
On the client
Full scene switch
Stop the THNK client and start the next scene in normal singleplayer mode
Pausing the scene
Don't disconnect from the server yet, and launch the scene in singleplayer mode. The server will not send any state updates while paused. If resumed, the server will send back a full scene snapshot again. If the scene is topped while paused, the server will finally see the client as disconnected.
Returning to paused scene
Stop the THNK client and go back to to the previous scene in singleplayer mode.
On the server
Full scene switch
Tell all the clients to switch to that scene as well, run the connection event for all connected clients on the new scene, and send a snapshot of the scene after running a first tick to all clients.
Pausing the scene
Tell all the clients to pause the current scene and go to that scene as well, run the connection event for all connected clients on the new scene, and send a snapshot of the scene after running a first tick to all clients.
Returning to paused scene
If the server returns to the scene before it was a server, close the THNK server.
Else, send a message to all players telling them to go back to the previous scene, and send to the players that have joined after the pausing the scene state at the moment of pausing.
The text was updated successfully, but these errors were encountered: