A visible delay between input and screen update.

learn more… | top users | synonyms

1
vote
2answers
50 views

Client Tells Server What Gamestate Data to Send Back

I'm just stepping into the world of MMORPGs and how they function, so assume I know very little. in a game, a client doesn't see everything that the server does. For example, the client can't see ...
1
vote
0answers
28 views

parented/constrained object transform lags when moving character in unity3D

Hi I have a simple raycast-base gun that emits particles along it's path to fake bullets. Whenever I move the camera/character- the particles are misaligned, as well as anything else I try to modify ...
1
vote
1answer
52 views

Unity game in edit the scene mode all of a sudden became incredibly slow/“laggy”

So I recently have been working on a game. So far I have very few assets in the game, which are a point light, a piece of terrain (which is textured), a player controller and a tree. Everything was ...
1
vote
1answer
118 views

LibGDX Touch Delay

So I'm trying to make a game in which you have to tap things fast, but the thing is - after you touch something (the area I chose), it takes like 2 more seconds to register another touch. Now, I think ...
1
vote
0answers
75 views

Lag when drawing single Texture multiple times in libGDX [closed]

I am building a game where you are basically drawing little dots on the screen with the help of the accelerometer. I am using a single instance of an Actor where I store the coordinates that needs to ...
1
vote
2answers
194 views

How do I handle game lag due to background apps

I'm developing a game using libgdx and have noticed on several occasions that other background apps running can cause lag in my game - especially when those apps are being updated in the background. ...
1
vote
1answer
147 views

Why is there a huge update-delay in my client/server code?

I'm working on my Java game with Libgdx and having trouble with the network code. I can create a server, make multiple clients connect to it, but there is a huge delay between the player's input and ...
5
votes
3answers
755 views

How do I handle packet loss in a client-server network model?

In a client-server network model, the clients only send commands to the server (i.e. coordinates of a click, fire gun, etc.) and the server then runs those commands to produce a game state. But what ...
-1
votes
1answer
192 views

java tile based game :tile lag fix

hi I have a game where it reads a txt file and loads a map 0 represents air and 2 represents dirt I have a class for each tile as well as a tilemap I will show u my code. the problem is it lags like ...
1
vote
3answers
212 views

Lag created when detecting collision

I'm fairly new to gamedev and have encountered a problem with the collision detection system. The collision is essentially worked out like this: for (int x = 0; x < playerprojectiles.Count; x++) ...
1
vote
2answers
378 views

Movement doesn't look smooth (slight lag)

Currently I'm using a variable time step and when the FPS drops by even a small amount you can easily notice a slight lurch forward of the player. I'm making a platformer and I'm wondering whether I ...
0
votes
1answer
285 views

Why can a certain DirectX mode produce display lag?

I have written two small test games using DirectX 9. One uses presentParams.Windowed = false; presentParams.PresentationInterval = D3DPRESENT_INTERVAL_ONE; and the other one uses ...
3
votes
1answer
135 views

When using MVC, what is the proper way to handle a view refresh when the model isn't ready?

I'm about to start building a game and am having trouble understanding the proper course of action when it's time to refresh the screen, but the model hasn't finished its calculations. I assume this ...
0
votes
1answer
355 views

XNA cursor lag

I'm trying to understand if this is avoidable, or it's something I just have to deal with when using XNA. I made a new game project and loaded simple 16×16 cursor image to draw each frame at exact ...
18
votes
5answers
2k views

Tricks in game mechanics to avoid dealing with network lag compensation?

Implementing network lag compensation is hard, how to avoid it? Maybe it's possible to use tricks and build game mechanics in such a way that lag would be percieved as a non critical or even as a ...
3
votes
1answer
291 views

How to properly do weapon cool-down reload timer in multi-player laggy environment?

I want to handle weapon cool-down timers in a fair and predictable way on both client on server. Situation: Multiple clients connected to server, which is doing hit detection / physics Clients ...
2
votes
1answer
304 views

How can I detect and compensate for system related lag?

The best example I can think of is Doom 3. It seemed to me that if there was any kind if lag the game would pause and then resume without "fast forwarding" to catch up. I'm trying to figure out a good ...
7
votes
1answer
861 views

Mitigating the noticability of a frame drop in XNA

I have been having some minor frame drop issues in a 2D XNA game. To start with, I am a vsync'ed, mixed timestep. That is: IsFixedTimestep = false; ...
-3
votes
3answers
257 views

Game getting progressively laggier?

I have a small game in HTML5 that uses socket.io to communicate with a node.js server. Now my problem is that, ever since I did my last update on it it seems to have something "chunk up" in the ...
6
votes
2answers
816 views

Correct way to handle path-finding collision matrix

Here is an example of me utilizing path finding. The red grid represents the grid utilized by my A* library to locate a distance. This picture is only an example, currently it is all calculated on ...
3
votes
2answers
897 views

2D Animation Smoothness - Delta time vs. Kinematics

I'm animating a sprite in 2D with key frames of rotation and xy-positions. I've recently had a discussion with someone saying that when the device (happens to be an iPad using cocos2D) hits a ...
-1
votes
1answer
833 views

Windows Events lag behind

I'm making a simple openGL application and so far I can get the window to display, the update/render loop work, and it processes windows events (like WM_QUIT and WM_MOUSE). I've found though that ...
4
votes
2answers
691 views

How can I alleviate network lag issues with players from other countries?

I am developing a small multiplayer game where players move through the map and interact with each other. The game is written in VB.Net. When I tested my game with players on a LAN everything worked ...
4
votes
2answers
181 views

How do I synchronise real-time moves of players on a grid?

I'm working on a real-time game based on a grid. Each player can move a single square at a time. A server tracks the game state and notifies clients of changes. It's possible for two players to make ...
6
votes
1answer
2k views

Fixing Slow XNA Game

I'm kind of new to XNA (and games in general). I'm trying to make a young relative of mine (10yo) a simple fun game where he is the main character. I'm down to the wire (I have to get it to him by ...
9
votes
4answers
368 views

Can packet latency fluctuate?

Can the time it takes for a packet to be transmitted from a client to the server fluctuate?