Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
14 Cards in this Set
- Front
- Back
What does the term "snapshot" refer to?
|
A snapshot is a complete game state that reflects the most current aspects of the game. This includes player/object positions, actions, changes to game world, etc.
|
|
What is a tick, and what occurs during one?
|
A tick is a fixed amount of time ("delta time"). In one tick, a server will:
- Parse player commands - Check commands against game rules - Run world simulation (AI, physics, etc.) - Update any objects representing the game state |
|
What are some advantages of a high tick/snapshot rate?
|
Higher tick rates increase the precision of the simulation.
Higher snapshot rates increase the smoothness of clients perception. |
|
What are some disadvantages of a high tick/snapshot rate?
|
More CPU load and more Bandwidth.
|
|
What is latency, and how is minimum latency calculated?
|
Latency is the time it takes a packet to travel from the source to the destination.
min_latency = distance / speed of light |
|
What is jitter?
|
Jitter is the variation in latency from one packet to the next.
|
|
What is sequencing?
|
Sequencing can be use to determine ordering of messages.
|
|
How does sequencing work?
|
Adding a sequencing number to the header of a message will help the client sort out which message came first. After a message is sent, the number is incremented.
|
|
What is delta compression
|
Delta compression is a technique that can be applied to network data to reduce it in size.
|
|
How does delta compression work?
|
With delta compression, we only send changes in the game state, not the full game state. This helps us reduce the size by only sending information we need to send.
|
|
What is Client Side Prediction?
|
Client Side Prediction is when the client predicts the result of user input before the server has issued an update.
|
|
What benefit does Client Side Prediction give us?
|
The appearance of latency is reduced.
|
|
How is Client Side Prediction implemented, ie how does it work?
|
|
|
What is Broadcasting?
|
Broadcast is a way to send a message to all hosts in your network. It can only be used with UDP.
|