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

learn more… | top users | synonyms

228
votes
12answers
12k views

How can I find an optimum set of colors for 10 players?

I want to give each of 10 players a unique identifying color. Is there an optimum set of colors for this? How do I create one? Every set I've come up with contains colors that are too similar. ...
62
votes
6answers
15k views

How to write a network game? [closed]

Based on Why is so hard to develop a MMO?: Networked game development is not trivial; there are large obstacles to overcome in not only latency, but cheat prevention, state management and load ...
43
votes
10answers
8k views

How to detect and prevent abuse (botting) of online game API?

I have been ocassionally working on a game idea in my free time. The gameplay and content renders it to be implemented as a online multiplayer game built with well established web technologies. You ...
32
votes
8answers
23k views

How can I make a peer-to-peer multiplayer game?

How can I make a p2p multiplayer game? I would like to have a server-less multiplayer game. But then, how all the clients know each other? Why the p2p-protocol is so famous in file transfer but not ...
24
votes
14answers
4k views

How to implement “bullet time” in a multiplayer game?

I have never seen such a feature before, but it should provide an interesting gameplay opportunity. So yes, in a multiplayer/real-time environment (imagine FPS), how could I implement a slow ...
22
votes
5answers
5k views

Game logic on the server! Good or bad?

I'm currently planning a simple online multiplayer game. And here is the question. Does it make sense to make the whole game logic on the server and just send the input from the client to the server? ...
22
votes
4answers
2k views

How do I avoid “too” lucky / unlucky streaks in random number generation?

I'm currently dealing with a multiplayer combat system where the damage dealt by the players is always multiplied by a random factor between 0.8 and 1.2. In theory, a truly random RNG may eventually ...
21
votes
9answers
1k views

Techniques to prevent non-official clients in network gaming?

In multi-player network games, what techniques exist to try to ensure that users are connecting with the official client application, and not some hacked client app? I realise there is probably no ...
20
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 ...
19
votes
3answers
5k views

How does client-side prediction work?

I've read Valve + Gafferon and hundreds of pages from Google, but for whatever reason I can't get my head around client prediction. To my understanding, the basic problem is: Client A sends input ...
19
votes
4answers
5k views

Best strategy (tried and tested) for using Box2D in a real-time multiplayer game? [duplicate]

I am currently tackling real-time multiplayer physics updates for a game engine I am writing. My question is how best to use Box2D for networked physics. If I run the simulation on the server, should ...
17
votes
6answers
1k views

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 ? ...
17
votes
3answers
4k views

How to make a multiplayer game work reliably behind NAT?

Even games that are 100% client/server sometimes have issues when the client is behind NAT. Peee-peer games are even a bigger issues. Some games need to use multiple transports (such as UDP and TCP) ...
16
votes
6answers
1k views

Handling player logoff and logon in a persistent world without breaking immersion

One problem I've never seen fixed in any persistent online game is how to handle player logon and logoff without the characters just popping in and out of the world. My first thought is to simply ...
16
votes
12answers
1k views

Balance in online PvP games

I don't know if there's an accepted solution to this wicked problem. I'm thinking about the design of an online PvP game. A key aspect of the game, something that is just a given, and not my choice, ...
15
votes
9answers
6k views

Adding multiplayer to an HTML5 game [closed]

I am interested in making a game that I currently have a co-op experience, however I'm curious as to the best method of implementing this in HTML5. I have made games before using straight C sockets, ...
15
votes
2answers
3k views

How should multiplayer games handle authentication?

I've been lurking around to understand how an authentication system would work in games, but after many searches, it seems that working with ssl/certificates could be a little complicated for just a ...
15
votes
2answers
956 views

Multiplayer Implementation, Can I implement it later if I chose to?

I plan to use XNA to build a game project. I'm not entirely sure at the moment if I want to add multiplayer functionality or not, bearing I have a lot of other problems to solve that I'm still new at. ...
15
votes
2answers
1k views

Should the game host be the authority, or another dumb client?

When designing a networked multiplayer-game where one player hosts and others connect, there are two strategies I'm aware of: Have the host-player's game be the authority, with all other players as ...
15
votes
2answers
3k 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 ...
14
votes
6answers
3k views

What are some ways to prevent or reduce cheating in online multiplayer games? [closed]

Punkbuster exists just to prevent cheating, and yet cheating is common in punkbuster enabled games. Modern Warefare 2 is seriously locked down from the end user running their own server or making any ...
14
votes
6answers
3k 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 ...
14
votes
4answers
761 views

How to protect your real time online shooter from potential bots

I'm looking to create a multiplayer top down shooter. While I've read about different topics, I can see them I've got some real challenges ahead, but I'm all up for it. One thing I can't understand ...
13
votes
4answers
2k views

How should I track players' real-time positions in an MMO?

How do you keep track of the positions of the players in a MMORPG? I read that you can use either a database or you can store the coordinates in files. I tried using a database but it was slow. How ...
13
votes
1answer
2k views

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 ...
13
votes
1answer
13k views

Multiplayer HTML5, Node.js, Socket.IO [closed]

I trying create simple Multi-player with HTML5 Canvas, JavaScript(too using John Resig simple Inheritance library) and Node.js with Socket.IO. My client code: var canvas = ...
13
votes
2answers
578 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 ...
12
votes
5answers
3k views

Network layer libraries [closed]

I'm looking for any network layers that are available to add to my game, either free or with fair pricing for indie games. By network layers I mean some sort of library which I can interface with, ...
12
votes
2answers
333 views

Are there tools for testing multiplayer code?

Are there reliable tools that can simulate real life-like network conditions e.g. networks with different bandwidth, different latencies, packet loss etc...?
11
votes
3answers
828 views

I know that my super simple multiplayer setup is probably not a good idea, but why?

I'm making a simple little MOBA just for fun. I was making everything single-player then I realized "oh crap I should probably add multiplayer, huh." I've never done anything with networking before, ...
11
votes
3answers
11k views

Best solution for multiplayer realtime Android game [closed]

I plan to make multiplayer realtime game for Android (2-8 players), and I consider, which solution for multiplayer organization is the best: Make server on PC, and client on mobile, all communition ...
11
votes
4answers
2k views

How do you allow networking code to be written in the later stages of the development?

I'm currently in the early progress of writing a game which I eventually will want to improve in most aspects. How can I skip out on writing network code yet leaving it fairly easily implemented, that ...
10
votes
7answers
492 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 ...
10
votes
3answers
4k views

Interpolating positions in a multiplayer game

In order to save bandwidth in my multiplayer game, I do not update every object every server tick, instead each object has an updateRate which tells the game that this object is expected to be updated ...
10
votes
2answers
985 views

How to handle realtime random movement with client side prediction

I'm building a realtime multiplayer game that runs the same 'physics' loop on client and server. I'm using a steering behavior 'wander' that is essential random movement. The client and server ...
10
votes
5answers
749 views

Do you need expensive servers and fancy hosting in order to make a multiplayer game?

I've finished working on an RPG and it would seem so much more fun to make it multiplayer. SFML has a networking feature, I figured it's possible but then again, never in my life have I even tried ...
10
votes
3answers
942 views

How do you design a record/replay system for a frequently changing game?

I'm working in a free MMORPG and I have a problem. I'm (with other people) developing a video recording system for the game. The idea is basically: we record all the packages sent & received with ...
10
votes
1answer
2k views

Game engine design: Multiplayer and listen servers

My game engine right now consists of a working singleplayer part. I'm now starting to think about how to do the multiplayer part. I have found out that many games actually don't have a real ...
10
votes
4answers
876 views

Implementing match-making & community system for multiplayer games

These days, games often have multiplayer portals with chat channels & match making system for the multiplayer aspects of the game. An example would be battle.net, magic the gathering online's ...
9
votes
2answers
2k views

Authentication for a multiplayer game via sockets

I'm implementing a custom binary protocol for a new multiplayer game I'm working on. Its a turn-based strategy game so timing doesn't really matter. I've currently got the basic data sync portion of ...
9
votes
2answers
4k views

How to handle multiplayer in JavaScript?

I'm just doing a bit of research into tech to use for a mobile multi-player game. It's more an experiment at present so for the moment, the only thing that Players need to be aware of is the other ...
9
votes
2answers
4k views

How to structure a simple game server for a multiplayer game?

I would like to create a simple multiplayer game server for a simple game: The game is supposed to be similar to Command & Conquer, you have a few tanks and a few soldiers. You can select one ...
9
votes
2answers
5k views

What are the best ways to serialize and unserialize network messages for C/C++ multiplayer game?

We are using JSON right now and want to move to a binary format for some types of messages between client and server. Should I just read structs into the socket? Use proticol buffers/thrift? How ...
9
votes
2answers
1k views

Is Xbox Live suitable for a multiplayer FPS?

I'm working on a basic first person shooter. I would eventually also like to publish it on Xbox Live. If I do this, will I still have access to parties (invite and chat)? Does Microsoft provide ...
9
votes
1answer
4k views

Network client-server message exchange and clock synchronization help

i'm doing a fast paced physics game that is a table hockey. With two mallets and one puck. The game runs on iphone / ipad and i'm doing the multiplayer part through GameCenter. This is how the ...
9
votes
2answers
4k views

Online multiplayer game basics [closed]

I'm currently working on a c# online multiplayer game in real-time. The aim is to have client/server based connection using the UDP protocol. So far I've used UDP for players' movements and TCP for ...
9
votes
1answer
466 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. ...
9
votes
3answers
1k views

What is involved in creating a real-time multiplayer platformer game?

I'm creating a platformer game that has a "co-operative" feature which I'd like to work over networks / the internet. Now I've read up on network game programming including articles like What every ...
9
votes
2answers
2k 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 ...
9
votes
1answer
260 views

Efficient solution for multiplayer space partioning?

This question is a little tricky, but I will try to make it clear. Lets say I am building an online game (not MMO-scale), but that supports as many players as possible, in a authoritative server ...