Ghost snapshots and synchronization |
A ghost is a networked object that the server simulates. During every frame, the server sends a snapshot of the current state of all ghosts to the client. |
Ghost spawning |
A ghost is spawned by instantiating it on the server, as all ghosts on the server are replicated to all clients automatically. |
Commands |
The client sends a continuous command stream to the server when the NetworkStreamConnection is tagged to be "in-game". This stream includes all inputs and acknowledgements of the last received snapshot. |