A game which is played by several players. The players may be working cooperatively or competitively (either against each other or the game).

learn more… | top users | synonyms

0
votes
2answers
131 views

Synchronizing mob states in online multiplayer game

I'm developing an exploration-based platform game in which from the start there were plans about including local multiplayer support, but recently I've been considering an online multiplayer mode, ...
1
vote
1answer
390 views

Unity3D Multiplayer Networking

I am making a multiplayer game using Unity3D, similar to SecondLife (but focusing on a particular gameplay task). Users will be able to register/login directly in the game and their character will be ...
1
vote
0answers
67 views

Message Authentication Codes for Multiplayer? [closed]

Is it common that in multiplayer games, network messages are signatured with a Message Authentication Code? If so, do you think it is performance consuming?
1
vote
1answer
89 views

How should I go about protecting my script files?

I am working on a small multiplayer game with a whole bunch of scripting components. I know I can't store my files in plaintext otherwise anyone would be able to change the functionality of core ...
-1
votes
3answers
199 views

Handling packet impersonating in client-server model online game

I am designing a server-client model game library/engine. How do I, and should I even bother to handle frequent update packet possible impersonating? In my current design anyone could copy a packet ...
0
votes
0answers
140 views

Improve interpolation in 2d multiplayer game

I have a problem to solve while prototyping networking for a 2d game. Here's what I have so far and what's giving a headache: I run a multi-player session where one host is an authoritative server ...
13
votes
2answers
516 views

How can I stop the player from drifting due to local input prediction when they stop?

I'm working on a 2D server-client multiplayer game engine (which you can try here). It uses WebRTC DataChannels. (The connections are peer-to-peer, but the host peer still acts as a server.) The ...
1
vote
1answer
74 views

How can I communicate changes to a 2D tile-based world state in a P2P context?

Suppose two players in a game want to build a city together on a blank tile-based game world simultaneously in a peer-to-peer connected context. When a player clicks on a tile it changes the state ...
-1
votes
2answers
150 views

Do I need threads in Hangman game? [closed]

I wish to implement a simple multiplayer Hangman game with the rule slightly bended. Rule: All the players have to guess the alphabets in the word at the same time. Whoever player guesses a correct ...
19
votes
3answers
3k views

How to predict movement correctly when a player is invisible?

I have a multiplayer game and I'm doing client-side prediction, but some players can drink a potion and become invisible... The problem is that when they become invisible I don't share anything that ...
0
votes
1answer
88 views

Handling latency in realtime music/rhythm-based games

Suppose I am making a co-operative multiplayer music-based rhythm game -- two players, side by side, move their cursor/avatar left and right with their mouse and attempt to hit or dodge obstacles that ...
7
votes
3answers
443 views

How can I keep two racing players synchronised?

I am working on a Unity mobile game, much like a multiplayer version of Temple Run. I'm seeing a fluctuating network latency (generally 200-500ms) because of the mobile platform. The two player ...
1
vote
0answers
62 views

Designing & Implementing a generic actions & communication system [closed]

I'm currently in the process of redesigning the action/communication/sound system of some small game. This part currently handles characters speech and emotes. The game itself allows for a lot of ...
3
votes
2answers
183 views

How do I maintain an online users list?

In a multiplayer JavaScript game client, is it a good idea to poll the server periodically to refresh online user list, or keep track of joined/left users? Is there a better option?
1
vote
1answer
289 views

How many leaderboards can I have in Android via Google Play?

Question is simple. I have one game with multiple levels(say around 90) distributed amongts different amongst different worlds. Am I reading this right and it means I can only have 70 individual ...
0
votes
1answer
875 views

Android local multiplayer

I am working on a FPS game for Android and I want to make a support for local multiplayer with no additional devices or server required. One of the player's devices would serve as a server, getting ...
1
vote
1answer
314 views

Hobbyist game dev, want to create async multiplayer game. Are server costs manageable? [closed]

I want to make the game I want to play, and that game happens to be an asynchronous multiplayer game. Think Hero Academy or Hearthstone, where there are 2 players and each submits moves to a central ...
3
votes
3answers
639 views

Limitations of p2p multiplayer games vs client-server

I am reading up on multiplayer game architecture. So far most of the articles i've found deal with the client-server model. I'd like to know what are the limitations for using a p2p architecture? ...
1
vote
1answer
175 views

Algorithm for smoothing a network object's movement

We are building multiplayer game where there's no central server managing the game. Each player is responsible for sending out its state to all connected players. In addition, all clients run ...
0
votes
1answer
846 views

Creating and joining a multiplayer game over a LAN

I'm trying to create and join a multiplayer game that has been created from a custom UDK installation. It works correctly when two (or more) instances of the game are created on the same computer and ...
1
vote
5answers
387 views

How to correctly aggregate networked data into UDP packets while avoiding fragmentation

I am starting to get my feet wet with game networking, having iterated many times now on some simple 2D games. For learning purposes, I've read the fantastic Gaffer on Games networking article a ...
1
vote
3answers
235 views

Send info about gun shots via UDP

I am writing a small multiplayer game in C++. But I am confused about how to send info about gun shots to achieve best performance. I am thinking of different ways to do that: Let's say we have a gun ...
0
votes
3answers
317 views

Multiplayer object interpolation

Currently I'm participating in a multiplayer game project as a network developer. Unfortunately, however, I'm facing an interpolation problem which makes game objects look like they are ...
-1
votes
1answer
132 views

Show message to one player issue in multi-player game

I Needed to show message to only one person of the multi player game,i am using smartfoxserver to developed a board based game and in this game how to differentiate 2 players in unity c#,and also how ...
1
vote
1answer
226 views

Syncing world in a multiplayer

I have been working on a client-server architecture for my multiplayer game. The server is used for communication between Clients. There is no cheat control because I trusting all clients :) I don't ...
3
votes
1answer
136 views

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 ...
8
votes
4answers
411 views

Clientside anticheating in multiplayer game 1vs1

I'm developing a simple card game, where there will be a matchmaking system that will put you against another human player. This will be the only game mode available, a 1vs1 against another human, no ...
9
votes
2answers
1k views

UDP non blocking or a seperate thread for receiving

I am creating a multiplayer game (for under 64 player). I already decided to have a seperate thread for the network loop, but I was wondering if it would be better to create an extra thread for ...
0
votes
1answer
249 views

Feasability of mobile 2D multiplayer RPG game with interactive bitmap background

I'm looking to develop a 2D multiplayer RPG game for Android, with a bird's eye view similar to that of zelda/pokemon. The game is very simple in all ways since my intent is for thousands of players ...
8
votes
4answers
207 views

Sending state diffs (deltas) and unreliable connections

We're building a realtime multiplayer game, in which each player is responsible for reporting its state on every iteration of the game loop. The state updates are broadcasted using unreliable UDP. ...
5
votes
2answers
367 views

Running multiple box2D world objects on a server

I'm creating a multiplayer game using LibGdx (with Box2d) and Kryonet. Since this is the first time I work on multiplayer games, I read a bit about server - client implementations, and it turns out ...
1
vote
0answers
107 views

How to perform game object smoothing in multiplayer games

We're developing an infrastructure to support multiplayer games for our game engine. In simple terms, each client (player) engine sends some pieces of data regarding the relevant game objects at a ...
0
votes
1answer
424 views

Using native code with Libgdx, (Raknet)

I was searching for a game engine (Java- maybe C#) with built-in real time networking library to develop 2D cross platform (Android - iOS) multiplayer game. Actually I have not found well suited ...
1
vote
2answers
189 views

Should I use threads to check sockets for multiplayer game?

In a multiplayer game does the code to get/send info from/to sockets reside in the game loop or does it belong in its own thread?
1
vote
0answers
125 views

Handling angles in multiplayer games

I am developing a small 2d multiplayer game. My most recent concern is, that trigonometric functions can take up a lot of time in any processor, and I was wondering if I could reduce this. So in my ...
5
votes
2answers
122 views

Which game logic should run when doing prediction for PNP state updates

We are writing a multiplayer game, where each game client (player) is responsible for sending state updates regarding its "owned" objects to other players. Each message that arrives to other (remote) ...
0
votes
1answer
435 views

Simulate camera movement in two dimensions (OpenGL)

I've been told by the folks over at Stack Overflow that there's no way to move the camera in OpenGL. I'm developing a 2D RPG with LWJGL and need to know the proper way to simulate camera movement as ...
-1
votes
1answer
668 views

Matchmaking system in Unity

I was wondering, how would one go about making a matchmaking system in Unity? I've tried some ideas with the Master Server, but it wasn't doing its job right, since thats a lobby based solution. I ...
0
votes
2answers
140 views

Help choosing a collision prediction method?

This takes a little backstory, bear with me. This is also a very general question, and I'm aware that without greater specifics the best answer might be "it depends." So the context is that we're ...
-1
votes
2answers
184 views

Server List for a game

I'm making a c++ multiplayer game, and I'm trying to implement a server list, where everyone can host his own server. But I don't know how to start, I've google'd for a while and I didn't find ...
1
vote
1answer
55 views

Increase Precision on multiplayer location drawin

I'm building a multiplayer snake-like game with Javascript. I'm having problems with the precision of the opposite players location not reacting fast enough. Which in turns makes the worm "crash", but ...
9
votes
1answer
361 views

Multiplayer platformer - Are server corrections normally required with a single client on the server?

I am currently working on a rather simple multiplayer platformer. I read quite a bit of articles on the techniques used to hide latency, but I still fail to get my head around certain of the concepts. ...
1
vote
1answer
104 views

Should response be tied to request in a multiplayer game?

I wonder if server responses on client operation requests should be tied by some operation id? Tied would be when: 1.Client app sends request to server to e.g. buy item X, and sets operation id as ...
0
votes
3answers
374 views

Why is my client laggy despite 60 update packets a second? [closed]

I am developing a small multiplayer game with XNA. It's a usual client-server architecture -- I have a server and many clients communicating with it through UDP (via .NET's Socket class). These ...
6
votes
4answers
363 views

Passing data between engine layers

I am building a software system (game engine with networking support ) that is made up of (roughly) these layers: Game Layer Messaging Layer Networking Layer Game related data is passed to the ...
0
votes
1answer
267 views

Basic Connections Through Socket Server

I'm designing a simple 2 player RTS with Stencyl, a program that uses blocks for coding. The current code updates lists whenever an actor moves (new X and Y), and I'd want the server to update the ...
7
votes
2answers
526 views

How to synchronize actions like jump in multiplayer?

I am a newbie game developer and I have been researching about multiplayer games. I observed that there's always some latency, the players always get updates from past actions. But there are ...
1
vote
1answer
382 views

Client side prediction on FPS game

I've recently attempted to develop a simple client prediction for an FPS based on Gaffer on Games famous blog (http://gafferongames.com/game-physics/networked-physics/). Now I've gotten to the point ...
2
votes
3answers
216 views

How can we validate subjective inputs from a client?

Let's propose for a minute where we have a game using something like the Virtuix Omni. You track feet movement. You track the speed at which they run. Now, let's suppose we want to translate this into ...
2
votes
1answer
359 views

Are frequent game updates a solution for preventing multiplayer cheating?

I'm creating a game on Android where the enforcement of rules can only take place on client side (I can't shift it to server side...think aimbotting but in my case I wouldn't even be able to use ...