Tagged Questions

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

2
votes
4answers
689 views

Key mapping for a 2-players game

I've been struggling for a while trying to figure out the best way to map two players on a single keyboard. Let's consider something generic: Arrows Validation Cancel (optional) Some common actions ...
0
votes
1answer
37 views

Sending RPC calls from server to client inside Unity

In my game inside Unity, I have two scenes setup. One for the main server ( acts like authoritative server ) and the other scene for my client. The game starts once my client connects to the server. ...
0
votes
0answers
22 views

Rewriting the existing code for RPC in Unity

So I am basically done making a game inside Unity. The next phase is for me to make the game run on different IPAD devices ( max 4 ). So the main game would run from a PC which would act as a server ...
1
vote
1answer
52 views

Server to client update rate

I am building a game that uses client-server architecture and have the following question regarding server to client updates. Currently the server is doing 60 ticks per second and is sending updates ...
1
vote
0answers
68 views

Best view for 2D Android game in Xamarin [closed]

I am trying to create a 2D multiplayer turn-based cooperative game for Android in Xamarin with possible future implementations for Windows Phone and iOS. The main inspiration for my game is Pandemic. ...
4
votes
1answer
98 views

Executing commands at the exact same time on 2 or more computers

I have an RTS game, with deterministic simulation, but if I want multiplayer to actually work, I need commands sent between computers to be executed at the exact same time. My game's networking is ...
0
votes
1answer
40 views

Using IPAD's as controllers for a Unity game

We are making a Multiplayer game using Unity. The actual game would be run from a PC projected on a screen and the players would be using their respective Ipad as a controller to play the game. I am ...
0
votes
1answer
69 views

How to pass a turn to AI and draw its move in a game?

I am writing a simple game for 2 players, where they have to make turns after each other (select a few objects to remove from the screen) and press "End turn" at the end to pass the turn to another ...
5
votes
2answers
174 views

How do I maintain game balance while promoting interaction between dead and alive players? [closed]

How do you motivate players to be content with randomly selected roles that are often complex to play and differ drastically in playstyle (AND to stick around till the end of game)? Some background: ...
1
vote
0answers
45 views

Google turn based multiplayer automatch criteria

I've set up a multiplayer game using Google's turn-based API. I now want to put some qualifiers on auto-matching and am racking my brain on how to solve this issue... I'm using GetVariant() to ...
0
votes
1answer
63 views

Multiplayer and creeps (NPC enemies): how to compute bullet hits given the lag?

We are making a multiplayer co-op game, where players will shoot not each other but AI enemies (creeps), controlled by the game. The chosen implementation is client-server with an authoritative ...
1
vote
1answer
107 views

Why is there a huge update-delay in my client/server code?

I'm working on my Java game with Libgdx and having trouble with the network code. I can create a server, make multiple clients connect to it, but there is a huge delay between the player's input and ...
4
votes
2answers
168 views

How can I get a list of servers hosted by my players?

I'm writing a multiplayer 2D online game, where game servers are hosted by the players. I want to show players a list of the currently hosted game servers. How would I do that? I know how to let ...
2
votes
1answer
50 views

How to sync gamestate between server and clients in turn based 4x game?

Background information: I am developing a game similar to other 4x games like Sots, MoO,... I am storing all information about the game(like star/planet/ship/fleet positions, owners and a lot of ...
0
votes
2answers
65 views

most effective storage of logged information [closed]

I am currently implementing basic logging of information on my multiplayer game and I want to have the most effective method. To log when a player connects and disconnects to a the server it ...
1
vote
3answers
117 views

How to handle network game [closed]

I'm currently building my own game using LIBGdx in JAVA but i'm facing some trouble. My game is base like this : A player have a position and some other parameters that are float, int types. He also ...
1
vote
1answer
83 views

how to store game state for a multiplayer board game eg. poker

First Approach: Store the state in database and play with database queries. Could a database handle the load, as poker is quite fast paced, and I have to query/update database for each player move. ...
1
vote
1answer
88 views

How do console games avoid port forwarding with user hosted servers?

On AAA xbox games (Call of duty, etc.), the company acts as a matchmaking service but the users host all of the games. Because not everyone has ports forwarded on their router, how do these games ...
1
vote
2answers
62 views

Correct way of modelling for a multiplayer FPS game

I was wondering what was the best way to model characters for an first person shooter game? Assuming I have 2 modes to show, first person view (the player's view) and 3rd person view (viewing other ...
2
votes
1answer
41 views

Wake locks in Android multiplayer games

I'm porting an FPS game to Android, and I have a question about the use of wake locks. Should the client acquire a wake lock when it connects to a server to keep frames running at a proper rate when ...
0
votes
0answers
47 views

How does character creation work in 2D games? [duplicate]

My question is how does character creation work in (multiplayer) 2D game? For example player wants to have long yellow hair, black armor and white leggings. What should I do? Already have all ...
1
vote
0answers
40 views

Ensure packet owner from connection is the authentic user [duplicate]

In a multiplayer game, how can you be sure that the IP from a packet is the real IP? By spoofing I could send, for example, a "suicide packet" which tells the server that the owner of said packet ...
0
votes
1answer
142 views

How is shot synchronization implemented in multiplayer FPS?

I'm building a 2D multiplayer shooter game. I have singleplayer working and started working on multiplayer part (server code,...) and there is one thing I just can't get my head around. When player ...
0
votes
0answers
81 views

Google Play Game Services - Handling messages via p2p, host or no host?

I am developing a real time multiplayer game using Google Play Game Services. The underlying networking is done via P2P. Everything I read says I should still have a game host that sends out all the ...
0
votes
1answer
217 views

HTML5 canvas multiplayer game with node.js and Isogenic engine [closed]

I want to create a multiplayer game using Isogenic engine i understand that this technology uses html5 and canvas for rendering graphics in frontend and node.js for backend. I started working on how ...
0
votes
0answers
81 views

Realtime Multiplayer Server for Backgammon in Unity2D

I am doing a project as a student. As I'm developing a Backgammon game for iOS and Android. I have faced the problem of choosing the best method for my server. In this game users will join a room to ...
13
votes
6answers
2k views

Creating a seamlessly looping 2D multiplayer level?

A discussion came up recently about how to create a 2D side-scrolling multiplayer game that can have an looping level design (Think of Starbound and how their worlds are looping). I thought the ...
2
votes
1answer
72 views

how did coordinate-handling in old flightsimulators work?

Im currently working on a combat flight simulator pure for own fun. Using a floating-origin i thought the float inprecision was history, however this was the case untill i tried adding multiplayer to ...
2
votes
0answers
78 views

Pitfalls in designing a coop dialog system [closed]

I like the complex, branching structure of games like visual novels and RPGs like Mass Effect. But I also like multiplayer cooperative games. So I thought, "What if there was a multiplayer dialog ...
2
votes
2answers
142 views

How to synchronize the ball in a network pong game?

I’m developing a multiplayer network pong game, my first game ever. The current state is, I’ve running the physic engine with the same configurations on the server and the clients. The own paddle ...
2
votes
2answers
160 views

Multiplayer FPS Gameplay: How to encourage players to dispense ammo?

In the Battlefield: Hardline beta, players can now obtain health and ammo directly from other players, without having to ask for it via the command rose. Here's two examples of how asking for health ...
0
votes
2answers
179 views

How can i get almost pixel perfect collision detection in a multiplayer game?

I'm currently working on a multiplayer game for iPhone. The problem i have, as with all multiplayer games, is that the other user will always see everything at a non-constant delay. The game I'm ...
10
votes
7answers
409 views

How can I make permanent death in a MUD seem acceptable and fair to players?

I have considered writing a MUD for years, and I have a lot of ideas my friends think are really cool (and that's how I'd hope to get anywhere -- word of mouth). Thing is, there's one thing I have ...
0
votes
2answers
77 views

Handling early/late/dropped packets for interpolation in a 3D multiplayer game

I'm working on a multiplayer game that for the purposes of this question, is most similar to Team Fortress. Each network data packet will contain the 3D position of the target moving object. (this ...
0
votes
1answer
124 views

How to solve problems with movement in simple tile based multiplayer game?

I'm making a simple tile based 2D multiplayer game in JavaScript using socket.io where you can move one tile every 200 ms. The two solutions I've tried are as follows: The client sends "walk one ...
1
vote
1answer
143 views

Issue with multiplayer interpolation

In a fast-paced multiplayer game I'm working on, there is an issue with the interpolation algorithm. This interpolation is for a moving object not controlled by the local computer. The server sends ...
5
votes
1answer
117 views

Replacement for XNA Lobby?

I am looking to implement with the Microsoft Windows Live game lobby. Since Microsoft has deprecated XNA, I am wondering if it is still possible to interact with the game lobby they provided in XNA ...
0
votes
2answers
211 views

Multiplayer game object prediction & server reconciliation

In the game we have 3 objects. Player 1 Player 2 Ball The game is simulating in the server. The players simulated with Prediction and Server Reconciliation. It's working smooth with 100ms - 120ms ...
0
votes
1answer
239 views

Why bother with server-side hit detection?

Valve's hit detection tracks player positions from when the bullet fired and then tells clients only whether the hit happened, but I can't see why that is necessary in the first place. Does ...
9
votes
1answer
216 views

How should I handle sound in a split-screen game?

In a split screen multiplayer game, sound events may be heard by more than one player, and they might sound different to each player. For example, player one might hear the sound of the car they're ...
1
vote
2answers
111 views

Can various browsers be assumed to maintain predictible state accurately in multiplayer online gaming?

With many games it is said that server will assume that clients keep track of the world accurately. Assuming this is true, for a browser based multiplier space invaders game you would only tell the ...
13
votes
2answers
2k views

What to send to server in real time FPS game?

What is the right way to tell the position of our local player to the server? Some documents say that it is better to send the inputs whenever they are produced. And some documents say the client ...
1
vote
1answer
174 views

How can I unify the collision handling of melee/spell attacks in a networked environment?

I am trying to figure a good way to create the battle system of a game. The game is fast paced and the gameplay needs to be precise (think hack n slash) What I would like to achieve is a simple and ...
0
votes
1answer
89 views

Are there still favored of using bluetooth devices today in modern games for multiplayer gameplay?

I was wondering. Most multiplayer gameplay always favored by Wi-fi during team-up or to compete each other. I know that when in comes in huge groups (say 100 to 500 players or more online) in online ...
0
votes
0answers
157 views

Cocos2D v3 and Physics simulation on server

I'm trying to develop a real time multiplayer game using Cococs2d v3. The game is basically a side scrolling racing game. I wanted to develop the client using Cococs2d for iPhone, and the server side ...
1
vote
1answer
81 views

Connecting players in an Online TCG

I've been developing single player games for a while now and I have decided to start working on a online PC(and maybe mobile) TCG. The design is almost complete and I can cover most of the code as far ...
1
vote
1answer
126 views

Mixing interpolation with extrapolation in multiplayer game

I am creating a multiplayer drag racing game and have difficulties mixing extrapolation and interpolation. To save network bandwidth i am getting information from the opponent only on his button ...
0
votes
1answer
184 views

Developing a general use multiplayer API [closed]

I'm tasked with the development of a general use multiplayer API in JavaScript, with a Node.js back-end. The goal of the API is to provide a service to JavaScript mobile game developers so they can ...
4
votes
3answers
289 views

Can game replays be used as cheat protection?

Say you're writing a complex turn based multiplayer strategy game in the browser (i.e. JavaScript). The game state is big and complicated (think line of sight calculations in a 3d world). There can be ...
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, ...