Questions tagged [lag]
A visible delay between input and screen update.
77 questions
1 vote
0 answers
47 views
How do I resolve glitches in grid-based movement due to lag in a network game where player input is handled on a fixed schedule?
Background I am creating a networked web game using NodeJS, Express, and SocketIO (Note, however, that this question is agnostic to implementation details). I have implemented a client-server ...
0 votes
0 answers
172 views
Huge framerate drops in an empty scene - what is going on?
I would really appreciate you guys helping me out with a baffling problem I am experiencing. I have a near-empty scene. It has one object, i.e., a ball bouncing in it, targeting 60FPS. I am deploying ...
0 votes
1 answer
398 views
WebGL FPS is sometimes higher than max. FPS setting - why?
In lots of WebGL online games (all games I tested were made with Unity), my FPS is sometimes higher than the max, FPS setting of my PC (75), but why?
0 votes
0 answers
106 views
Application.WaitForAsyncOperationToComplete() causes game-freeze in Editor
I'm creating a pause menu for my game and I have two scenes: a menu scene (Scene1) and a game scene (Scene2). I load them using the command 'SceneManager.LoadScene(1);' for the menu scene and '...
0 votes
0 answers
928 views
Pygame lags on simple game
I am trying to build a game in pygame, however any movement feels laggy. Its not a big lag but more like a small stuttering. I created a boiled down version to showcase this. The code in the git below ...
3 votes
1 answer
104 views
Handling acks during 1+ second packet loss with Glenn Fiedler's Reliable UDP Solution
I've read through Glenn Fiedler's awesome guide on Reliability over UDP and I'm currently working on my own implementation for fun and learning purposes. One pretty cool piece of Glenn's guide is that ...
0 votes
1 answer
82 views
Lag Spike When Creating Model
I am creating a game using OpenGl in c++. Whenever I create a new model while the game is running, such as fire a bullet, there is a huge lag spike. The function that creates the model is below. ...
0 votes
2 answers
314 views
How to give a certain scene different preference settings then other scenes unity
In my unity game that I am creating there are 4 scenes. 3 of those scenes rely on a backdrop because they are the main menu, death screen and the escape screen(for when you escape the place). ...