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

learn more… | top users | synonyms

0
votes
2answers
326 views

Different physics engines on the client and server sides

I am developing a 2D multiplayer game as follow: semi-authoritative server handle up to 40 players per game. Players and other game objects will interact/collide with each other Physics like ...
1
vote
1answer
149 views

Synchronizing players and game objects in a server/client multiplyer game

OK guys, I have some experience with 2D game development (single player only), so that's fine no questions here. The problem is with multiplayer games. I already read lots of other questions and ...
0
votes
0answers
56 views

How long should interpolation last in multiplayer game?

I'm making a multiplayer game. Server is sending update packets 20x per second, that contain players positions, velocities and other important data. I want to interpolate between current and updated ...
0
votes
0answers
49 views

multiplayer/network security and guidelines

I am about to start programming a multiplayer game that uses TCP to transmit data. Just sending data, prozessing data on the server and displaying results on the client isnt that complicated i guess. ...
1
vote
2answers
126 views

Interpolation over a network - receiving and drawing an opponent in 1v1 game

I'm a newbie Java coder and I'm creating a 1v1 game with an authoritative server and two clients. My whole network is based on UDP packets: sending positions from clients sending confirmations ...
1
vote
0answers
27 views

Can I use sdl_net2.0 with cocos2d-x? [closed]

Can I use sdl_net2.0 lib with cocos2d-x? And how it cconects to each other. Or analog lib to use?
0
votes
0answers
106 views

Singleplayer and multiplayer using same gameobjects in Unity?

There are a lot of topics about converting singleplayer to multiplayer games. But I could not find the accepted practice of keeping singleplayer gameplay available. Will this just work if I manually ...
1
vote
1answer
103 views

How to sync random incidents over network? (Photon + Unity / PUN related)

In my Photon powered game, I have a shotgun weapon and when a player fires a bullet, I call an RPC on other clients and it's bullets get direction from a random function, Random.Range, and on ...
0
votes
1answer
218 views

Sending message to all players in room from Photon server?

I need to send a message to all players in the room from a Photon server. Sending the message from a player would introduce too much latency so I need the server to collect data and distribute ...
0
votes
0answers
24 views

badumna how to use different prefab for different entity in the game

our project uses badunma which is an open source p2p c# framework for unity https://bitbucket.org/badumna/badumna/overview currently we are using the badunma scene for our open world replication. The ...
1
vote
1answer
36 views

Where can I find a service hosting tournaments with prize funds? [closed]

I have a game, and users are self-organizing to create tournament sites. They want to be able to create a tournament, have competitors put down a $1 each, and the winner takes all. Are there any ...
4
votes
1answer
106 views

In a 2D multiplayer game should I send the position of user to the server all the time? [duplicate]

In a 2D game where the user moves with the keyboard arrows, should the user send all the time he moves his position (x, y)?. If the user has some speed, the user would send (x, y) like 50 times pixel ...
0
votes
1answer
198 views

Best way to interpolate player movements in a very fast paced Unity game?

In my Unity online multiplayer game players move very fast and I currently use Lerp to interpolate between their last position and current position: transform.position = Vector3.Lerp(transform....
0
votes
0answers
27 views

Photon Connections without Concurrent Users? Or other networking?

I am going to be making a multiplayer game and use http://pupnp.sourceforge.net/ for setting up connections without having the player to port forward. The game will let you make or join a room using ...
0
votes
0answers
54 views

cannot sync for connected player after spawning meteorite ( photon PUN and ufps)

did anyone run into such bug? It happens when second player connects to a game, and that's what he sees. But players who connected earlier see everything well: meteors which I spawn by master-client ...
0
votes
1answer
71 views

Character on Character fighting animations

sorry about the vague title, but these couple of videos/images might explain my situation a bit better: https://www.youtube.com/watch?v=MG1mNyjNuXk (Wolfenstein the Old Blood) https://www.youtube.com/...
1
vote
0answers
109 views

Multiplayer turn based Android/iOS [closed]

We're developing a mobile endless runner game, on Unity3d where you can challenge your Facebook friends. The only interaction between the players is the challenge - one player challenges the other, ...
1
vote
0answers
32 views

Player Position interpolation - question

I have a 1v1 real-time game. I'm sending packets with UDP, I'm using Kryonet. I had gameloop on a client that was working like this (just an example): while(true){ if(player_me.getState == "...
2
votes
1answer
54 views

Local player always at same position

I am trying out UNET ( Unity Multiplayer Service ) and I am building a space invaders like game but with two players at each side of the screen shooting at each other. I want the local player to ...
2
votes
0answers
40 views

Does the latest version of Python have libraries for easy host/server connections? [closed]

We're working on a turn-based multiplayer Risk-type strategy game in Pygame, and I was wondering if there were any pre-existing libraries like PodSixNet that worked for Python versions 3 and up that ...
2
votes
1answer
85 views

Testers for multiplayer game? Where to find them?

I am indie game developer and we created multiplayer and realtime game IQ Wars (www.iqwars.net). We made Windows/Mac/Linux Beta version of our game public and were hoping to find some beta testers to ...
2
votes
1answer
252 views

2015 android multiplayer server based Implementation

There are a lot of old posts about multiplayer implementations on SE, so i'm looking for an up-to-date answer. What is the best server-client implementation of real-time multiplayer now? I have an ...
2
votes
0answers
52 views

Improving Position Sync Bandwidth Usage in a Multiplayer Game

This is the class i use to sync position between clients in a multiplayer top-down 2D shooter game: [System.Serializable] public class MovementUpdateClass { public int MessageTime ...
2
votes
0answers
194 views

SignalR For Multiplayer Game Development [closed]

I've been working with SignalR for live chat and notifications in .NET platform and was wondering how much is it worth for working on games development? I've made some jQuery browser games and I want ...
2
votes
1answer
96 views

Looking for good comunication schema in turn-based game with multiple players

based coop game that will need to communicate to the server to handle the game process. Basically I need to be able to invite to the game, progress through turns (one player at a time) and finish in ...
1
vote
1answer
61 views

How do I keep 1v1 player positions consistent over UDP on Kryonet?

I have a server which is simple: When two connections comes in, it opens a game room, pass their connections to it and runs a thread with a gameloop. (Everything is running on Kryonet) So... I made ...
1
vote
2answers
86 views

How to make ranked matches in a head-to-head multiplayer game?

I am working on a field hockey like game for Android and iOS. Currently I support being able to play against another player online in a client/server fashion where one device host and the other ...
1
vote
1answer
541 views

Building a simple bomberman game with Node.js and Socket.io [closed]

I'm building this game mostly because I want to experiment with Node.js and Socket.io, and the game is more like a proof of concept. To start with, I have a 2D grid system as the game map. ...
4
votes
1answer
68 views

Applying the input for the always-moving player in the multiplayer game

I've read several articles published on gambrielgambetta.com, gafferongames.com plus some pages about how Valve handles multiplayer networking in its games but I still can't get it how to implement ...
0
votes
1answer
29 views

iOS game center game is out of sync

I've been building a game center game for iOS and it works great so far. I finally started testing the game and theres (obviously) some latency, which is causing the game to be out of sync. ...
9
votes
2answers
184 views

How do I make voting to kick a “leader” player fair?

My game has many rooms of around 10 people where they compete. It's basically one big guy against the other small 9 people. However, sometimes the one guy will intentionally 'troll' and make for an ...
0
votes
0answers
35 views

Does a game server replicate physics/terrain to validate input/events [duplicate]

I'm starting a pet project to learn more about game development; a basic moba. I know game server design is a loaded topic but I was wondering what all the server handled. You wouldn't want the ...
0
votes
2answers
154 views

Simple mobile multiplayer game. TCP/UDP? [duplicate]

I'm tying to dive into multiplayer game programming. The game is quite simple, it's a 2D scroller mobile game, the player need to touch the screen in order to move 1 step and it could contain up to 4 ...
0
votes
0answers
31 views

setting up data exchange in game center

I just set up a game center game where 2 people can do matchmaking. Everything is working great but there are times when the movement gets laggy. Currently I'm sending data to the other player from ...
2
votes
0answers
74 views

Facebook data exchange for mobile games (multiplayer)

A multiplayer mobile game that we are working on connects players through Google Play and Game Center but we would also like to add an option to play with your Facebook friends and here's the question:...
1
vote
0answers
293 views

Unity Photon Networking - Cant understand OnPhotonSerializeView

in all tutorials I see that an object sends data over the network and receives the data for sync in the same method: Code (csharp): void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo ...
8
votes
1answer
2k views

How do I create a simple RPG game server? [closed]

I'm working on a Sprite Kit game. I'd like to make it a true multiplayer game, by which I mean that each person joining the game has their own camera. I've seen tutorials on multiplayer games where ...
0
votes
1answer
39 views

SQLite Query from unknown table based on known column value single query

I'm working on a database to back up my online TCG. It's currently SQLite, but I'm going to transition it to a MySQL database later. Currently, I have three distinct types of cards with their own ...
-2
votes
1answer
134 views

How to make a 2d shooter game interesting? [closed]

Im asking what can i implement in a online multiplayer 2d shooter to make it more interesting the idea i have(i know how to make it) doesn't seem so fun what can i add to a lastman standing 2d shooter ...
0
votes
1answer
378 views

Android multiplayer via bluetooth [closed]

How do I transfer game commands between 2 android devices via bluetooth first of all is possible to do this??If possible then someone please help in doing so.Thank u
12
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 ...
1
vote
0answers
48 views

How to detect when client state drifts from server state?

I'm obviously talking about an authoritative server to which client sends commands and gets state updates. My question is when I get a position update and know how many milliseconds ago it was ...
2
votes
0answers
175 views

hosting a windows game on a linux server [closed]

there! I am currently working on a game on Unreal 4, and although im still in early production(barely any code written, mostly visual assets at this point), i want to ask this now, so that i know how ...
0
votes
0answers
39 views

xna multiplayer movement

So I have a tcp sockets network setup with the ability for clients to connect to the server. I'm currently trying to do movement. And iv discovers that tcp is terrible for sending out the x and y ...
2
votes
0answers
161 views

P2P Online Gaming, it is viable? [closed]

I am working on a Peer to Peer based Online Gaming system. I plan on using it for running a decentralized MMORPG in which there are no central servers and traffic is routed evenly among each node/...
0
votes
1answer
167 views

What is the correct approach to implement multiplayer in a game? [duplicate]

I'm developing a game and it is intended to be a multiplayer game. I have experience in writing servers and clients in Java, but the game is written in C++. The server will be written in Java for ...
4
votes
2answers
154 views

Authoritative movement with client side prediction

I don't fully understand how client side prediction works with authoritative movement. Let's say we have: client at position(0,0) server at position(0,0) Now the client wants to move forward ...
-2
votes
2answers
531 views

Multithreaded or Thread pooled server for real time multiplayer games? [closed]

So if the Thread pool handles 10 players out of 100 per second, this could make a delay that will be no good for real-time games, so as I see it that MultiThreaded will be better, thus it will handle ...
0
votes
1answer
80 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 ...
-2
votes
1answer
292 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 ...