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

learn more… | top users | synonyms

-1
votes
0answers
26 views

Multiplayer Game building a real time game [on hold]

I am about to embark my journey on multiplayer game. I have this existing game which is for single player only. I need to convert this to multiplayer, Currently I am lost of what I have to do, of what ...
0
votes
1answer
31 views

How do I have a player also be a server? [Unity 2d]

I'm trying to make a game in Unity 2D, and I need a player to be a host because I can't afford dedicated hosting. Each client will have files that the server (and other clients) need to be able to ...
0
votes
1answer
1k 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
1answer
34 views

Validating User Actions on the Server

I am currently working on a networked first person shooter. I have created a server implementation that can synchronize player data. But while implementing a damage system, I realized that I almost ...
1
vote
1answer
92 views

Why can't cross-platform multiplayer games exist?

At least, why are they so difficult to make? - assuming that's the reason why not even AAA studios accomplish this feat for their games. Especially with modern cross-platform game engines like Unreal ...
0
votes
1answer
82 views

In PHP, how do I implement multiplayer “rooms” for a turn-based game?

I'm working on a multiplayer checkers game. I want to let players choose another connected player and invite him to play. I have a working game engine and rendering, but I'm stuck on the multiplayer ...
0
votes
1answer
138 views

How to make unitypackage from allseen alliance's android sdk?

Im making an offline multiplayer for Android device by Unity and I found only one way to do this is the allseenalliance sdk. After download its from here I found that to use it I need to create an ...
1
vote
3answers
151 views

Basic multiplayer matchmaking implementation

I am currently writing a matchmaking server application for a 5vs5 UDK game. Here is the scenario on which I built my code: The player starts the game and authenticate The player clicks an huge ...
0
votes
0answers
40 views

How to smoothly display opponents in realtime multiplayer game

I'm implementing a small-scale multiplayer racing game. As of right now, the client sends updates to the opponents on a fixed interval (or as fast as possible), containing location on the map etc. ...
0
votes
2answers
152 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
2answers
213 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 ...
2
votes
2answers
1k 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 ...
0
votes
0answers
67 views

Android Studio libgdx multiplayer

Does anyone know if it's possible to setup a multiplayer game using libgdx in Android Studio? I've been trying to convert my game to multiplayer using all kinds of tutorials on libgdx & ...
0
votes
3answers
104 views

Game Networking: Client request or Server Sending

I'm trying to implement a basic client-server setup for my game. But what confused me was how I would approach sending updates. Would I do: Server has a tickrate, let's say at 20ms. Each tick would ...
0
votes
1answer
73 views

How do I create a server for an existing game I don't have the source for?

I was wondering if it is possible to create a dedicated game server for a game that already exists and you don't have access to. For example, a game on Steam that only allows multiplayer through ...
8
votes
2answers
258 views

How important is a single-player mode in a 2-player game?

So say you have a 2 player game, taking Chess as an example (except it's an original game with no ready-to-go AI available). Let's say there's also a social-aspect to the meta-game, so let's say ...
0
votes
2answers
402 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 ...
5
votes
5answers
516 views

How do you get a multiplayer-only game to reach critical mass?

Say you have a multiplayer-only game in which players are randomly paired head-to-head against a random online player... How do get such a beast off the ground? You need enough players online at ...
43
votes
10answers
7k 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 ...
4
votes
4answers
408 views

How to avoid duplication using client-server model

I am using a client-server model to write a multiplayer-capable game (in Java). Currently the clients and the server are using the same code to run the game logic, in order to enable client-side ...
24
votes
14answers
3k 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 ...
0
votes
1answer
53 views

Google Play Game Services real-time multiplayer secure game data architecture

Is it secure to allow all game clients in a multiplayer game session to store sensitive opponent player data which should be revealed in the UI only upon a certain action (e.g. enemy building type ...
3
votes
1answer
174 views

How do I create a multiplayer server also suitable for local single-player?

I've created a voxel game in C++, OpenGL and SFML, and I want to make it multiplayer. I'd like to make it similar to Minecraft's client-server model: The single-player is just a client to the hidden ...
4
votes
3answers
1k views

How do I sync multiplayer game state more efficiently than full-state updates?

I've done a little game network coding before, but primarily with TCP for games without real-time needs. I am working on a 2D Java game with networked multiplayer. For learning, I want to do this ...
219
votes
12answers
11k 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. ...
2
votes
2answers
506 views

Can Unity 5 or Unreal Engine 4 do computationally identical physics simulation across platforms?

In order to use certain approaches to multiplayer physics, it requires that the clients calculate exactly the same values for physics simulations. That "exactly" is a very big word here and goes all ...
1
vote
0answers
43 views

Need to boost the number of simultaneous players in single (existing) game with Unity3d

I have created a turn based multiplayer game (with Unity3d) in which three teams battle to finish constructing a cake before one another. The game mostly targets on entertaining kids at certain ...
2
votes
2answers
112 views

Should I ping for a TCP-based game?

I have a head-to-head game where two players communicate through a server based on TCP. I am planning to implement a ping/pong mechanism in order to detect network disconnection situations. For ...
0
votes
4answers
147 views

Assign each player a unique ID?

For my game's multiplayer matchmaking and back-end, every player is assigned a unique GlobalID and LocalID. The GlobalID is used for keeping track of all players and the LocalID is for keeping track ...
0
votes
0answers
31 views

Fix latency when sending state

I have a multiplayer game done with Phaser, which runs in the browser and on a node.js server. The server is authoritative, every 50ms or so it sends the game state object to all clients. The clients ...
4
votes
2answers
406 views

How do I efficiently send RTS unit selections over the network?

I have a multiplayer RTS game with every unit assigned an ID. How can I efficiently send across a network the units selected by a player? For example, Starcraft 2 has upwards of 200 units per player ...
0
votes
1answer
64 views

How does one write a wrapper for a game server? [closed]

From what I gathered, wrappers mimic the game server in question, receiving packets from client and sending them to the server (and vice versa). It acts like a bridge between the client and server, ...
2
votes
4answers
186 views

How can I avoid sending the full game state so often?

I'm making a real-time 2D MMORPG in Java. Currently data all surrounding NPCs' and players' data is sent so frequently that the client crashes—it can't handle the data quickly enough. I'm sending data ...
1
vote
1answer
32 views

UDK ping check without joining a game?

I have made great strides in creating a custom built server browser for UDK. It registers servers with a master, and the client can download the list and populate the server browser. However I'd like ...
-1
votes
1answer
71 views

TCP For RTS Game?

My RTS game abides by the lockstep system so keeping everyone up to date is import and guaranteeing the safe arrival of packets would make my life a lot easier. With that said, I still need decent ...
0
votes
2answers
95 views

Is 50KBs of bandwidth practical for players? [closed]

For my client-server lockstep 16-player RTS game, I've calculated the maximum bandwidth usage per second to be 50KBs for hosting a game (though this value is closer to 20KBs practically). ~90% of this ...
0
votes
0answers
62 views

Sending block chunks through TCP

I am creating a 'Minecraft clone' and the game is going to be only multiplayer. I currently have a limited world (it's not going to be infinite) that is 512 chunks. Each chunk is 16(X) * 16(Z) * ...
-1
votes
1answer
68 views

How to estimate number or packets required to sent per second in a multiplayer lockstep RTS game?

Considered a typical lockstep implementation, what's a solid rate to send packets at for UDP protocol that games can start with in the beginning? If anyone has experience in this field, I'd like to ...
1
vote
3answers
100 views

Implementing single and muliplayer without messing everything up [closed]

I don't know a good way to implement single and multiplayer in a game without messing up the whole project structure. Should I create separate classes for single and multiplayer entities or is there ...
0
votes
1answer
62 views

Is this specific server architecture okay for a multiplayer game? [closed]

So I am making a game in Node.js / HTML5. And I am really struggling to determine what an effective server architecture looks like? Right now I have a server for a multiplayer game ( I plan on ...
1
vote
1answer
217 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
2answers
114 views

Multiplayer game principles

I am developing game using libGDX libraries . I want to create multiplayer mode , where several players can play at the same time in the same room , each player can create his own room and other ...
0
votes
1answer
59 views

Cross-platform multiplayer game in JavaScript [closed]

I want to start creating a simple multiplayer, JavaScript based, cross-platform game. Think about it as a two player mario where players can shoot each other. My question is what is the best way (or ...
0
votes
0answers
152 views

Unity Photon/PUN - Updating booleans with RPCs

I'm using the latest version of unity with Photon's PUN library. I used a tutorial to make a really simple multiplayer game (cubes moving around) which works fine. Now I'm trying to make a turn based ...
1
vote
0answers
191 views

server-side language for multiplayer card game [closed]

I am trying to develop a web-based multiplayer card game similar to poker, but with some changes to its rules. The game needs to be secure, so it needs a game-client for UI and actions, and a ...
2
votes
1answer
95 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 ...
0
votes
0answers
27 views

Reverting 2d canvas?

I'm making a multiplayer game which involves drawing lines. It's based this game: http://curvefever.com/sites/default/files/resize/remote/ef86488088c618df13b34f8b87aafd4e-1107x808.jpg. The game is ...
2
votes
3answers
175 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
174 views

In-Depth Lockstep Explanation

I'm making a multiplayer game built upon a lockstep system and I'd just like a better grasp on the concept. My main question is on how to get every command to simulate at the same time on every ...
8
votes
6answers
2k views

Which server platform to choose [closed]

I'm going to write a server for an online multiplayer with these requirements: Pretty simple turn based game (think a card game) that is played entirely on the server (security reasons) Must be able ...