Questions tagged [multiplayer]

The multiplayer tag typically refers to a feature of games software where more than one user can interact with the same instance of the software.

The multiplayer tag typically refers to a feature of games software where more than one user can interact with the same instance of the software, often to participate in the same play session or to co-exist in the same persistent world.

Although multiplayer scenarios sometimes include 'hotseat' games where players take turns to play, it is more common for multiplayer to imply simultaneous play by 2 or more people, which in turn often implies the same game being played on multiple machines. As such this is typically about networking, and often has solutions that derive from those found for concurrent and distributed systems generally.

1525 questions
6
votes
3 answers

Unity 5.1 Networking - Spawn an object as a child for the host and all clients

I have a player object who can equip multiple weapons. When a weapon is equipped, its transform's parent is set to its hand. I have messed around with this for some time and cannot get this to work for both the host and the client. Right now I am…
6
votes
1 answer

android turn-based multiplayer custom invite screen

I am trying to create a custom UI screen for the "player picker UI" that comes with google play services for turn based multiplayer. The default one can be seen…
6
votes
4 answers

Can google app engine be used as a socket server?

My webhost has rules against socket servers so I've been looking into GAE. Does anyone know of a socket server that can successfully run on GAE? I'm using it for flash so anything like smartfox would be amazing if it's possible. Thanks.
N S
  • 2,524
  • 6
  • 32
  • 42
6
votes
0 answers

Google Play Game Services; Invitation system

In my Android game, I want players to be able to invite their friends to a game match that will take place at a later date and time. The player who created the match chooses this date and time. I want these invitations to be able to be pending,…
HigiPha
  • 742
  • 9
  • 19
6
votes
3 answers

Java libgdx(desktop/android) multiplayer game how to

I have a game called wizard wars that I have been working on. This game needs to allow 2 players to play at one time, and would need a TCP connection to communicate spell creation/destruction ect., and a UDP connection to handle locations ect. It…
csga5000
  • 4,062
  • 4
  • 39
  • 52
6
votes
2 answers

What data-structure/algorithm will allow me to send a list of key/value dictionaries using the least amount of bits?

I have server objects that have corresponding client objects. The data to be kept in sync is inside the server object's key/value dictionary. To keep the client objects in sync with the sever objects, I want the server to send the key/value…
6
votes
3 answers

How to accept an invitation in Game Center

I'm trying to implement invitations with Game Center and there's one thing that i don't understand. Ok, i've sent an invitation from one device to another. Then i have an UIAlertView on receiver which asks me i would like to accept or decline the…
Andrey Chernukha
  • 21,488
  • 17
  • 97
  • 161
6
votes
2 answers

packet size limit for iPhone games?

i am creating a multi player iPhone game using the multi player tutorial as the skeleton in the following link http://www.raywenderlich.com/3276/how-to-make-a-simple-multiplayer-game-with-game-center-tutorial-part-12. With the architecture i am…
godzilla
  • 3,005
  • 7
  • 44
  • 60
5
votes
2 answers

Multiplayer game programming

I'm working on a game where multiple players should be able to play at a time. It's a 2D game, and all the characters should be able to see each other move on the screen. Like the game is now all the devices just post and fetch each others…
Araw
  • 2,410
  • 3
  • 29
  • 57
5
votes
1 answer

Turn based multiplayer physics networking

I am currently in the planning stages for a 2D game for mobile devices which I will be making in C++ using cocos2d-x. The game will be turn based and each turn will have a phase in which the physics simulations will take place. It will also be…
ash
  • 51
  • 2
5
votes
3 answers

Need help for android multiplayer game development

I am new on gaming in android. I have to start my new project which is nothing but a mutiplayer game I want to know that whether android supports multiplayer gaming?? If yes, is there any sdk/game engine/library or anything else which will support…
Mahaveer Muttha
  • 1,727
  • 4
  • 21
  • 33
5
votes
4 answers

TCP vs UDP - Issues that arise from using both

When I'm learning about various technologies, I often try to think of how applications I use regularly implement such things. I've played a few MMOs along with some FPSs. I did some looking around and happened upon this…
Cheese
  • 1,429
  • 3
  • 16
  • 17
5
votes
1 answer

Browser multiplayer network strategy - does this seem like a viable solution?

I'm interested in producing some sort of multiplayer RPG as a purely browser based game, with little or no plugin requirements. Having done quite a bit of research I've arrived at the following plan. I'm aware that some of the tech I'm referencing…
bharling
  • 2,800
  • 1
  • 18
  • 25
5
votes
1 answer

Unity Netcode for gameobjects with relay - calculate ping

I am having trouble calculating the ping of players in Netcode. I have a list of lobbies, and I want to display the expected ping of each of them, before the client connects. Currently, I am using…
Itai Elidan
  • 272
  • 9
  • 27
5
votes
3 answers

Multiplayer Whiteboard Race Condition

Imagine a multiplayer whiteboard where several people can draw at the same time. To keep it simple, lets say there's a single object on the whiteboard which can be moved or deleted by any user. There is no notion of user-owned objects (i.e. it's…
davidkomer
  • 3,020
  • 2
  • 23
  • 58