Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [synchronization]

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

Filter by
Sorted by
Tagged with
27 votes
4 answers

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 ...
CiscoIPPhone's user avatar
  • 5,268
11 votes
3 answers

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 ...
Smashery's user avatar
  • 375
0 votes
1 answer

The state that is synced when a window is broken in a FPS game

In order to better understand how state syncing works in games, I wanted to pose a specific example. Say you are in a FPS game with multiple players and someone breaks a window in some building. ...
Lance's user avatar
  • 177
22 votes
3 answers

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 ...
Slaus's user avatar
  • 427
10 votes
1 answer

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 ...
gmemario's user avatar
  • 669
1 vote
2 answers

Implementing the "earn resource every N seconds" mechanism common to F2P games

In many free-to-play games, play will be rate limited in some manner by a resource that you naturally earn on a timed interval, but can opt to increase artificially through buy-ins. A current example ...
numbers1311407's user avatar
-1 votes
2 answers

Start timer in two clients the same time

I want to create a client/server turned-based game where each player will have 5 seconds in order to play. If extends this time will be other player's turn to play. In order to do this, I have created ...
thp's user avatar
  • 3
11 votes
3 answers

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 ...
Haz's user avatar
  • 211
3 votes
2 answers

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 ...
K..'s user avatar
  • 205
3 votes
1 answer

How to sync the actions in a mutiplayer game?

I connect the clients with UDP (its a peer to peer connection on a multicast network) and the clients are sending their positions in every frame (in WP7 it means the default 30 FPS) to each other. ...
Wheeler's user avatar
  • 33
2 votes
1 answer

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, ...
clickbait's user avatar
  • 257
2 votes
1 answer

Client and server loops don't match up

I'm trying to build a small networked game using WebGL and NodeJS. I have a basic client and server setup and I'm at the point where I'm trying to implement dead reckoning to simulate what happens on ...
user1157885's user avatar
1 vote
1 answer

Jumping with Mecanim synchronization

I am using Unity3D 4.1 for one of my projects. I have a robot character which is always running. I am using mecanim animation system. What I really want:When I press Space bar, the character should ...
Abhishek Deb's user avatar
0 votes
2 answers

In lockstep networking game, how to handle sudden lags and disconnection?

I am trying to implement a game similar to "Street Fighter" by using lockstep networking model so that two players can play remotely via Internet. I have read a lot of articles about lockstep ...
Joe Huang's user avatar
  • 163
0 votes
1 answer

clock synchronization

Is there something I'm not seeing or there is a flow in this algorithm(which everyone is referring to) Assumption 1: When I say a is ...
Sil's user avatar
  • 103
0 votes
1 answer

Synchronize points from UI and server

I am sorry in advance if it's not perfectly clear. I would like to make a game with let's say the following map (in real it will be a 3D globe). Now this map contain point, and each point is a place ...
Crocsx's user avatar
  • 25