A process of maintaining similar game state across players and/or servers, thus giving all players same info about current sutuation on playfield.

learn more… | top users | synonyms

7
votes
3answers
1k views

Multiplayer tile based movement synchronization

I have to synchronize the movement of multiple players over the Internet, and I'm trying to figure out the safest way to do that. The game is tile based, you can only move in 4 directions, and every ...
12
votes
5answers
5k views

Synchronization between game logic thread and rendering thread

How does one separate game logic and rendering? I know there seem to already be questions on here asking exactly that but the answers are not satisfactory to me. From what I understand so far the ...
2
votes
2answers
3k views

Client-Server RTS networking with lockstep and lag

The peer to peer lockstep networking model would seem to indicate that everyone's input is delayed the same amount. And so this would indicate that everyone would feel the same lag in response to ...
6
votes
3answers
1k views

Networking for RTS games with lockstep using UDP

Apparently from what I can gather Starcraft 2 moved to UDP in a patch. Now obviously with fps games there is no dispute that UDP is the only way to go. But with RTS games what benefits does UDP give ...
3
votes
2answers
2k views

How do I keep an MMO synchronized?

I'm making a 2D, top down MMO game. ATM I can connect a player to a server and they get the map data from a DB. They can move around and hit some stuff and if they move near a viewport edge, the ...
4
votes
1answer
788 views

XNA: Networking gone totally out of sync

I'm creating a multiplayer interface for a game in 2D some of my friends made, and I'm stuck with a huge latency or sync problem. I started by adapting my game to the msdn xna network tutorial and ...
4
votes
3answers
2k views

How do I sync multiplayer game state more efficiently than full-state updates?

I've done a little game network coding before, but primarily with TCP for games without real-time needs. I am working on a 2D Java game with networked multiplayer. For learning, I want to do this ...
3
votes
2answers
2k views

Elegant way to handle packet loss in a lockstep P2P RTS?

What's an elegant way to handle packet loss in a lockstep simulation peer-to-peer RTS where only player input data is sent over the network? For example, let's say it's tick 1000 and player 1 sends a ...
4
votes
3answers
773 views

Send regular keyboard samples OR keyboard state changes over network

Building a multi player asteroids game where ships compete with each other. Using UDP. Wanted to minimize traffic sent to server. Which would you do: Send periodic keyboard state samples every from ...
-2
votes
2answers
192 views

Resources about movement and simulation in multiplayer games [closed]

I am developing a multiplayer game, similar to Castle Crashers. This is the first multiplayer game I do so, before starting to code, I am trying to learn what's the best way to do it. I found some ...
10
votes
1answer
4k views

Network client-server message exchange and clock synchronization help

i'm doing a fast paced physics game that is a table hockey. With two mallets and one puck. The game runs on iphone / ipad and i'm doing the multiplayer part through GameCenter. This is how the ...
7
votes
5answers
1k views

Multiplayer synchronization and pathfinding

I have a point & click type interface on a client, which runs an A* on the server, for path-finding. The game is controlled like an RTS, but the world is persistent, so players should be able to ...
3
votes
2answers
311 views

Variable-step update() in game loop is falling behind, how can I get around this?

I'm working on a minimal game engine for my next game. I'm using the delta update method like shown: void update(double delta) { // Update code that uses `delta` goes here } I have a deep ...
19
votes
3answers
4k views

Low traffic client synchronization with server in MMO

I am implementing MMO where player flies in space on his starship controlling it with arrow keys and cooperate with other players. I want to implement it so that player will be able to dodge his ship ...
6
votes
2answers
3k views

How to make footsteps sound sync with animation (FMOD/Wwise/similar)

How do you pros out there implement footstep sounds in so that they're synced with character animation? I have an idea in mind: an FMOD event that has two footstep playback triggers, and a parameter ...
24
votes
4answers
6k views

How is load balancing achieved in MMOs?

I believe it's a common requirement of MMOs that processing for a single shard or realm can be done over several servers to ease the load. I'm curious as to how this can be done whilst maintaining a ...
4
votes
2answers
1k views

Game clock Synchronization in python

I am working on a network game project in python which we want to keep synchronized. I would assume we should use Network Time Protocol to cater for different levels of lag. That being the case, is ...
6
votes
3answers
7k views

Synchronizing clients with a server and with each other

What is the best way for keeping all clients synchronized with a server and with each other? Currently, we have two approaches in mind: When a client sends something to the server, the server ...