Questions tagged [latency]
Latency is the delay between providing input to a networked system and the system's response.
41 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
2
answers
141
views
Determine End-to-End Latency on Laptop or PC
I'm working on a project to determine the end-to-end latency of a cloud gaming system (i.e., XCloud) on a MacBook.
I believe I have half of the process completed so far:
A Javascript web app that ...
3
votes
1
answer
365
views
How Can I Match the Windows Cursor Latency with a DirectX Rendered Cursor?
My Win32/DirectX 11.1 project requires that I render the mouse cursor myself rather than use the system cursor. This is easy enough; however, I've found that there is a human-perceptible latency when ...
0
votes
0
answers
178
views
How can I display and sort a game server list by latency in a scalable manner?
If I have a game that allows players to self-host a multiplayer session which other players can join by browsing a game server browser to select a game I ideally want to be able to sort that list by ...
0
votes
4
answers
3k
views
Should I bother with SDL_WaitEvent?
When I wrote my first application in SDL, it looked like this:
while (!quit)
{
SDL_PollEvent(&event);
switch (event)
{
// ...
}
}
But ...
0
votes
1
answer
475
views
Is web browsers, how much latency is there with event listeners?
I have an event listener in JavaScript looking for keydown events.
document.addEventListener('keydown', e => {
// Callback code
});
What is the latency ...
3
votes
1
answer
245
views
How can I standardize ping?
I hear pros playing Fortnite that have 20-50 ping complain that they cannot perform as well as pros with 0 ping due to wall taking, etc. It's easy to think that a 20ms ping difference is negligible ...
2
votes
2
answers
713
views
How to troubleshoot Godot HTTPRequest latency?
I'm running a Django server on localhost, and Godot 3.2 is my client using HTTPRequest. If I make an HTTP request with HTTPie (or cUrl), I get a response in under 3 seconds. The same request is ...
1
vote
2
answers
917
views
Should I compress WebSocket payload data in a game where latency matters?
I have started work on a new game project where users are in an open environment and fight each other in a fast-paced shoot-out. I know that compressing all of the WebSocket's payload data using zlib ...
1
vote
0
answers
50
views
Handling game message packet loss at low speed and at a microcontroller level
I read this: How do I handle packet loss in a client-server network model?
...But I'm looking for more advice.
Currently I'm implementing my own lazertag vests. I'm programming hardware (8051 ...
4
votes
0
answers
1k
views
How to handle increased/decreased latency in client side entity interpolation?
Edit
After reading some more questions on this board, I've come up with this potential scheme. Feel free to give any suggestions / criticisms on the scheme I show in the box below.
...
2
votes
1
answer
643
views
Should the server calculate the time of a player's input, or trust sent data?
I am curious about the details of lag compensation in games. I have read a lot of articles about it, for example:
Source Engine Multiplayer Networking
Fast-Paced Multiplayer - Gabriel Gambetta
How do ...
2
votes
1
answer
2k
views
How to solve "server lag" problems that break the game
How do real-time multiplayer games deal with latency problems (or "server lag")?
Imagine an online fighting game where 2 players battle head-to-head in real time. When a player performs an action, ...
0
votes
1
answer
2k
views
Multiplayer networking and understanding snapshots between client and server
Please note: Although this question involves a link to the Source Engine, its really a generic question about client-server interactions in multi-player games, and I think can be answered by anyone ...
2
votes
2
answers
767
views
Network jitter, client input to server
I am working on a authoritative client/server game, looking to both Valve and Gaffer to understand the concept.
Currently, the server simulates at 20 ticks a second. The inputs received from the ...
0
votes
0
answers
61
views
Unity3D Only render when key is pressed
I am researching Interaction Latency - the delay between pressing a key and seeing the result on screen.
I have my Unity3D application deployed remotely to an EC2 instance on AWS. I have another ...