Questions tagged [multiplayer]

Played by multiple players, cooperatively or competitively, locally or remotely.

Multiplayer refers to a game that can be played by several players simultaneously. Opposite of , though many multiplayer games do include a single-player mode.

Players may work cooperatively (together against the game, such as in Left 4 Dead 2) or competitively (against other players, such as Counter-String: Global Offensive).

They may be playing together in the same physical location (known as local multiplayer, e.g. Tennis for Two) or over a network (known as network multiplayer; requiring ). Some genres, such as s, are always network-multiplayer by definition.

Local multiplayer can be implemented as simultaneous (by giving each player a separate or other input scheme, sometimes different control schemes entirely), or as hotseat multiplayer in which players take turns using the same physical controls (Worms: Armageddon is a famous example).

853 questions
20
votes
1 answer

How do game clients know that a server is running on their LAN?

In lots of multiplayer games there is the option for LAN play. My question though is how does a client know where a server is on the LAN? The only ways I can think of Send out broadcasts over the broadcast address. This has the disadvantage of…
TheLQ
  • 355
  • 2
  • 6
18
votes
6 answers

In what kind of variable type is the player position stored on a MMORPG such as WoW?

I even heard J. Carmack quickly talk about it... How a software can track a player's position so accurately, being on a such huge world, without loading between zones, and on a multiplayer scale ? How is the data formatted when it passes through the…
jokoon
  • 5,243
  • 8
  • 38
  • 59
4
votes
1 answer

How are multiplayer mods created?

How do you make a single player game into a multiplayer one? For example: SA-MP San Andreas Multiplayer and the new Just Cause 2 Multiplayer. Before making the mod, did they need permission? How did they even know what to code without having the…
eee222
  • 43
  • 1
  • 5
3
votes
1 answer

Input prediction and server re-simultaion

I have read plenty of articles about multiplayer principles and I have basic client-server system set up. There is however one thing I am not clear on. When player enters input, it is sent to the server and steps back in time to check if what should…
Lope
  • 203
  • 1
  • 7
3
votes
1 answer

What advantages are there to the one-port-per-client approach for a multiplayer server?

There are a few older games (Quake III and Hexen II to name a couple) where the server assigns a port per player. Are there performance advantages to this? I suspect there may be, since Carmack & Co.'s endeavours tend to lean in that direction. I…
Engineer
  • 29,455
  • 4
  • 72
  • 120
3
votes
2 answers

What is dead reckoning and how do you deal with it?

I've come across this problem before and it would be good to know the different ways of solving this problem.
gak
  • 182
  • 4
  • 11
1
vote
0 answers

Is it unethical to implement multiplayer AI that pretends to be a real player to prevent the empty-server problem?

I am currently working on a multiplayer game. I have recently gotten more aware of the problem that as an indie multiplayer game that offers matchmaking, my game might very quickly fall victim to a situation where nobody is playing, which…
Tom Doodler
  • 186
  • 5
1
vote
2 answers

calculating and saving latencies for multiplayer game

i am making a simple multiplayer puzzle game which basically presents a group of connected users some simple questions and whoever answers first wins the game. but i am having some issue in designing this game. assuming there are two players A and…
anekix
  • 145
  • 4
1
vote
1 answer

How to manage time in a two player game?

I'm making my first online board game. After the two players accept to play with each other, I want to show a get ready message for 3 seconds, then both start playing together, each has 30 seconds to do an action in his turn. But I don't know the…
Blendester
  • 125
  • 3
1
vote
1 answer

How can I make actions that effect the position of another player appear responsive when my game server is authoritative?

You are playing as Lucio in Overwatch. You boop another player and they immediately get booped away. It feels really responsive. But the server hasn't actually registered the boop yet. By the time your command reaches the server, that player might…
Prodigga
  • 151
  • 7
0
votes
1 answer

How to manage a multiplayer asynchronous environment in a game

I'm working on a game where players can setup villages, which can contain defending units. Any of these units (each on their own tiles) can be set to "campaign" which means they are no longer defending but can now be used to attack other villages.…
Phil
  • 621
  • 1
  • 5
  • 18
0
votes
3 answers

Single player game into Multiplayer game

I developed a Single player game in Flash (Tic Tac Toe) and in the Multiplayer mode i will be able to do both player playing on the same system with out network. I would like to extend it and make it enable to play the Multiplayer game for two…
jeyanthinath
  • 113
  • 3
0
votes
1 answer

What is the best time to implement Multiplayer system?

I have been starting a new online multiplayer game project this week and as the title says - Is it better to implement the Multiplayer feature right away, or is it ok to implement it when the game already has some other stuff, like maps and physics?…
juanSenna
  • 23
  • 4
0
votes
0 answers

How to add local multiplayer feature in a game using bluetooth?

I have developed a turn based game using android studio.I want to add local multiplayer feature to it. Don't need a detailed explanation, I need some idea about the following aspects:- Do I need a thread for each client? How can the server identify…