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
2answers
1k views

Sync clocks on a real time multiplayer game - Is this ok?

I'm developing a multiplayer game through Gamecenter in unity with prime31 plugin. This is how I sync the clocks of the two players (right now there will only be 2 player in one match), and I wanted ...
2
votes
3answers
923 views

What's an efficient way to represent game state for networked games?

I've done a little bit of network coding for games before, but primarily with TCP for games that don't really need to simulate real-time interaction. I am working on a (somewhat) simple 2D Java game ...
2
votes
1answer
272 views

Server related questions and it is available options?

i went thru a lot pages here searching for information about the "server side" of a multiplayer game, while i did found some information they were not exactly what i was looking for. What is the ...
2
votes
1answer
62 views

how to sync two players to start at the same time for a head-to-head networking game?

I am developing a game similar to "Street Fighter" and two players can fight each other via Internet. The networking model is "lockstep" by trying to sync user controller status for each frame. When ...
2
votes
3answers
134 views

Prevent movement cheating in MP games

I have read a lot about movement in multiplayer games, but not so much on preventing cheating. Let's say a client sends moves packets whenever the player press a movement button, then the server ...
2
votes
1answer
140 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 ...
2
votes
1answer
77 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
2answers
724 views

Game Database Connectivity Java

I'm developing a simple multi-player puzzle game in Java. Both players should be able to view the same game board on his own computer. Then, when one player makes an action in the game (ex. drags an ...
2
votes
2answers
3k views

How to build a turn-based multiplayer “real time” server

I want to build a TCG for mobile devices that is multiplayer over the web (not local wifi or bluetooth). As a player plays cards I want the second player to see what is being played in "real time" ...
2
votes
2answers
833 views

Architecture for html5 multiplayer game?

Hello I want to write a HTML5 multiplayer game in which there are rooms with two players answering a series of questions with 3 possible answers, 10sec/question, which are being downloaded from a ...
2
votes
2answers
498 views

What are my tool options to prototype a 2D online multiplayer game? [closed]

I'm looking for the best tool to allow me to quickly put together a 2D game that relies largely on networking. It's extremely likely that this game will require a server side program to constantly ...
2
votes
2answers
1k views

How to display image in second layer in Cocos2d

I am very new at Cocos2d and is testing to displaying an image over the "Hello World" text on a second layer and need help to get it work. I guess it is some basic stuff here and appreciate any tips ...
2
votes
3answers
455 views

Best way to handle realtime melee AI in authoritative network environment

So i've been working on a multiplayer game for a bit; it's a co-op action RPG with real-time combat. If you've seen or played TERA, I'd say it's comparable to that, but not an MMO, heh. I'm currently ...
2
votes
1answer
140 views

What causes my client's painting & input thread to stop? [closed]

I recently returned to face a problem I had with a game client of mine, i.e. the client's thread responsible for input & painting becomes unable to run after some while. I suspect that it has ...
2
votes
1answer
70 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 ...
2
votes
1answer
44 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 ...
2
votes
1answer
547 views

Multiplayer in a game. How to design it object wise?

I was suggested on StackOverflow to ask this question here. I'm working on a simple game and I was thinking of adding multiplayer feature but I'm a bit stuck. I'm not sure what approach should I ...
2
votes
2answers
351 views

Adobe Air turn based multiplayer Game, sockets vs http bandwidth

I am developing an Adobe Air multiplayer game for iPad. It is turn based and not realtime. It is like checkers game. I want to use a client server model. I have found 2 options to connect to server so ...
2
votes
2answers
6k views

Creating offline multiplayer Android games with Unity

Is it possible to create offline multiplayer Android games with Unity (played over bluetooth/ wi-fi)? If so, then I would like to create a 2 player game prototype, containing a single room (empty ...
2
votes
1answer
673 views

Browser UDP Relay with TCP Websocket

I'm wondering if this is possible and what obstacles I might face. I have a game that's browser based, and since I can't send UDP packets from a browser, Can I use a plugin that the browser connects ...
2
votes
2answers
379 views

PHP Browser Game Private Messages?

First off, I'm asking this question here because gaming and messaging are intimately connected. Why win if you can't gloat? Nevertheless, I won't be offended if this needs to be moved to overflow. ...
2
votes
1answer
2k views

Simple WP7 pong game with real time multiplayer using sockets

I'm making a pong clone for Windows Phone 7 and I'd love to add a multiplayer option. I've been trying to use this Ricky Tan's tutorial: ...
2
votes
0answers
80 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
300 views

Zelda like multiplayer combat

I have in mind coding a multiplayer game with a similar combat to zelda's. Since i will use flash, i'm limited to use TCP. My question is, is this goal possible? It's not as fast-paced as some ...
2
votes
0answers
62 views

Group Matchmaking [duplicate]

Consider different groups(1 or more players) queuing together, we want to make 2 opposing teams containing each the same amount of players while keeping the groups together. At the same time we want ...
2
votes
3answers
438 views

Game engine that allows for objects being placed in-game [closed]

I am looking for a game engine with multiplayer support that allows for players to place objects in the terrain. (eg. in TF2 one can place teleporters, etc... or in minecraft one can place blocks). I ...
2
votes
0answers
859 views

Best Frameworks/libraries/engines for 2D multiplayer C# Webbased RPG [closed]

Title is a mouthful but important because I'm looking to meet a specific criteria and it's complex enough that I need a lot of help in finding what I'm looking for. I really want people's suggestions ...
1
vote
1answer
315 views

What time to display in text messages in multiplayer game?

Say I'm having a multiplayer RTS game. There's a main server for each individual game and several clients connected to it. All packets are sent to server first and then server retransmits them back to ...
1
vote
1answer
347 views

Wise approach to becoming good at C# XNA

Would finishing an entire course about C# at HomeAndLearn.co.uk and then jumping into XNA be a wise path to take? Ultimate goal is to create a multiplayer 2D game.
1
vote
2answers
667 views

Build a handshake server for a multiplayer game

I'm making a multiplayer mode for a game I developed, and it works over UDP. What I need now is a server to let a player know another player, and send each one the other's IP. I own a VPS that I'm ...
1
vote
2answers
122 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 ...
1
vote
1answer
134 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
5answers
564 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
1answer
431 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 ...
1
vote
4answers
465 views

What would be best practice of client comunication in a multiplayer game

Assume that we have a multiplayer game and the users are moving their characters (might be a circle) on the game area. At every game loop some changes can be happened. Should clients send their ...
1
vote
1answer
492 views

Efficient existing rating system for multiplayer?

I would like to add a rating for online version of a board game. In this game there are many game rooms each normally having 3-4 people. So I expect that player's rating adjustments (RA) should ...
1
vote
2answers
163 views

Before multiplayer match setup

I am implementing a before-match setup in following way: Users request a multiplayer match (click "New Game" button or similar) After enough users request the match – connection is established Users ...
1
vote
1answer
500 views

Implementing an online database

I'd like to get into online games programming. I thought that as a start i'd be a good idea to implement an online database that would store the progress and score for a game i have made, i'll ...
1
vote
1answer
319 views

How are trajectories calculated and transmitted to other players in Multi-Player?

I play alot of COD4. And can see tracers for gunfire, missles, care packages fall from helicopters etc. There is alot of activity. I am curious to know the algorithm (at a high level) that manages ...
1
vote
3answers
141 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
2answers
94 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 ...
1
vote
1answer
118 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
vote
3answers
258 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 ...
1
vote
1answer
296 views

When and where should I calculate collision response with multiplayer physics?

I've troubles wrapping my head around multiplayer physics and collisions on the client side, so far I interpolate the state of my network entities ( position and velocity ) of the other clients based ...
1
vote
2answers
659 views

Multiplayer game sdk for ios and android [closed]

I am working on a multiplayer game supporting Android and IOS. For IOS Game-Center seems promising. But its IOS only. OpenFeint could be a option, but now GREE has stopped supporting it. Is there ...
1
vote
1answer
2k views

Client-Server RTS networking with lockstep and lag

The peer to peer lockstep networking model would seem to indicate that everyone's input is delayed the same amount. And so this would indicate that everyone would feel the same lag in response to ...
1
vote
5answers
2k views

Is it possible to use 3G internet for a TCP/IP game server?

I'm working on a turned based multiplayer android game with a friend. I started working on the game server and client using socket programming. I found a few tutorials on how to implement a basic chat ...
1
vote
2answers
157 views

Observing particular Port for measuring network game performance

How can I check/inspect the performance of some network application via observing the port it used, I want to test the performance of my network game. If my game is using port 1009, how can I check ...
1
vote
2answers
1k views

How to connect two Iphone/ipod/ipads for gameplay over local wifi network?

I would like to add the option to play against another person over my wifi network in my pong game. How do I make this happen? Also, I would like to know how to be able to have 4 players at the same ...
1
vote
1answer
131 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 ...