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

learn more… | top users | synonyms

1
vote
1answer
55 views

How to handle two players playing on one keyboard with Box2D (LibGDX)?

I'm making a racing game with LibGDX and Box2D. I've been using this tutorial to implement the basic physics, and it works properly. My main problem is to implement two different sets of keys ...
0
votes
0answers
55 views

Multiplayer through blocked Firewall Ports?

im currently trying to develop a little game. I thought it would be a great idea to implement coop multiplayer, only lan. So i took kryonet and created a server. On my home wlan it works great im able ...
-3
votes
1answer
42 views

Making Multiplayer game on IOS [closed]

I'm making a multiplayer game for iOS in Swift and I'm trying to find information about how to set up the multiplayer side of it. I already have the actual game created. I would like it to be the same ...
0
votes
0answers
15 views

Syncing entities. Best way? [closed]

W're a team from a IT school, building a multiplayer game and w're asking ourself about syncing the entities over the network. For now, we have found two ways to do : The server ask each connected ...
2
votes
1answer
5k 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. ...
6
votes
2answers
253 views

Does it make sense to use both TCP and UDP at once?

After reading UDP vs TCP for data heavy realtime games - 2016, I'm wondering if it makes sense to use both TCP and UDP at the same time, but for different things: TCP for sending information that is ...
0
votes
0answers
28 views

Unexpected Execution Order in Unity (uNet)

I made a little game in Unity. It works fine in the Editor. But if I run the build version I get a NullReferenceException. This problem does only appear if the build-version-client hosts the game. ...
0
votes
1answer
27 views

Turn-based multiplayer animate moves from last turn

I'm trying to make a 2-player turn-based strategy game, using the Google Play Games APIs According to the documentation, As a match progresses, the current player can modify and store the game ...
0
votes
1answer
76 views

Poker Game Multiplayer network logic

I created a single player poker game. Now I want to change it to a network game. I want to use Photon(for network) and Playfab(game server) or SmartFoxServer. My problem: I want to run important ...
0
votes
1answer
92 views

How can I destroy a game object across the network in Unity?

How do I go about destroying a game object across the whole network in a multiplayer scene in Unity? I can only get it to destroy on the local client and not for everybody else connected. I'm ...
1
vote
1answer
39 views

How do you use SoundManager for multiple player games over the network?

I have created a basic sound manager according to this unity tutorial (https://unity3d.com/learn/tutorials/projects/2d-roguelike/audio). However, I need it to work for multiple players over the ...
0
votes
0answers
29 views

Multiplayer Keeping the Client and Server Updates in Sync?

I am working on a Multiplayer Game, I have a client loop which can run at 30-60fps. Inside of that Loop I check whether the players left mouse is down. If it is, send a shoot command to the server. On ...
1
vote
1answer
91 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 ...
0
votes
3answers
38 views

Destructible objects for multi-player game in Unity

I am working on 3D multi-player shooter game in Unity using SmartFoxServer Since I need to implement some destructible objects in the game I tried to use these assets: Fracture ...
3
votes
4answers
424 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 ...
1
vote
1answer
356 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 ...
0
votes
0answers
19 views

Multiplayer Spawn not working

The error message I get is SpawnObject for Player(Clone) (UnityEngine.GameObject), NetworkServer is not active. Cannot spawn objects without an active server. I know that the server is ...
1
vote
0answers
51 views

What player rating system can I use when the rating can only get larger?

I am developing a turn-based multiplayer app (2 players per match) for Android. As backend I use Google Play Game Services. I have implemented a leaderboard. Now I consider how to design the ranking ...
0
votes
2answers
37 views

Single player game into Multiplayer game(Not online) [closed]

How difficult is it to do this?(Like, do you need to so skilled that you aswell might have created the game yourself) Do you need to change a lot of the code? For example, if I have a single player ...
5
votes
4answers
786 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 ...
0
votes
2answers
107 views

Backend for data-driven multiplayer game

I am working on a match-based (5v5) multiplayer steam game that is similar to TF2, LoL, Dota 2, etc. I am planning a data-driven approach where character/abilities/items/etc are defined in data ...
2
votes
2answers
238 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
139 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
35 views

Unity WebGL build throws errors

I am working on a multiplayer game for WebGL platform and i am using (http://lockstep.io/ - SocketIo & node.js server ) for handling the game. I am facing these issues as shown in the attached ...
0
votes
0answers
60 views

Unity stream webcam to other player (Multiplayer)

I want to make it possible, that I can draw on the stream of another player in my Unity game. The networked drawing works just fine, my problem is to stream the webcam. I've got the webcam input ...
0
votes
0answers
23 views

Movement prediction on client

Im pretty new to game development. Currently I try to predict the movement of the player on the client. But my client and my server are calculating different values. Im using a delta time for the ...
0
votes
2answers
45 views

The tolareable lag range in a multiplayer game

I am programming a multiplayer game. I calculate the ping in ms as : ping = the_time_i_recieved_pong - the_time_i_sent_ping I implemented client-side prediction and interpolation algorithms. When I ...
0
votes
0answers
38 views

Multiplayer rigidbody not receiving velocity syncvar on the client

I have a scene in which on a certain event the client spawns a prefab with the variables of position, rotation and rigidbody velocity set for it. It is working perfectly, it spawns in the right ...
0
votes
0answers
42 views

UNet - Local Player Authority

I have an NPC. I would like to give the player the ability to possess the NPC by clicking on it. //Prefab is spawned with networkIdentity.localPlayerAuthority = true ...
0
votes
0answers
39 views

Authentication in network game servers

I'm currently building a UDP server that my game will talk to. The users will need to have an account created, either by using a Single Sign-On account such as Facebook or Google, or by creating an ...
1
vote
2answers
115 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
1answer
72 views

how should a server handle client actions?

So I've just started trying to make a multiplayer pong game and I have read a lot of different ways to code the connections. However, I read somewhere that you should have the inputs sent to the ...
0
votes
1answer
27 views

How to find the participation id corresponding to a sender id

I am creating a real time multiplayer game in unity 3d using Google Play Game Services. In my function where I deal with the positioning of players based on information that is sent from other ...
0
votes
0answers
48 views

Object spawn only on Server in multiplayer unity3d game

In my game I have an object let say food, whoever eat that food that player will spawn one more element. I am sharing code here :- I am checking collision in Update. Following code is working fine on ...
0
votes
1answer
65 views

Passing strings padded with white space into a byte[]

I am using Google Play services for a real time multiplayer game in Unity 3d. When sending the data in a byte[] in the multiplayer update I have to pad certain entries going into the byte[] with white ...
0
votes
0answers
62 views

How to load new scenes or models from network in unity or unreal engine?

I have a project to be done. I had done some research to accomplish some features. Event so, I couldn't find some answers. The project needs to have some features as follow; Charachter creation in ...
0
votes
0answers
48 views

Communication between Photon Cloud game and web server [Unity3D; Photon]

I am creating a multiplayer game using Photon Cloud (Photon Unity Network). For storage of player data (profile, inventory, achievments) I use web server (asp.net mvc & sql server). How to ...
2
votes
2answers
107 views

Example/Tutorial of passing structured data over network C++

This is very general question, about strategies how to pack same informations about state of my game-world on server ( e.g. position/orientation of players, projectiles, etc. ) into data stream so ...
0
votes
2answers
62 views

Calculating interpolation percentages

I've been reading valve's article on multiplayer networking repeatedly recently and everything is starting to make since. One thing I'm wondering on though however is what percentage value to use for ...
0
votes
1answer
44 views

Updating a gameobject position that needs to be consistent across all players' games

I am creating a real time multiplayer game in Unity 3d using Google Player Services that has a ball that the players will interact with. I'm not particularly sure how I will update the ball's position ...
0
votes
0answers
17 views

How to make my Minecraft Mod useable by a Multiplayer server?

I coded my Mod using Eclipse and Minecraft Forge. Then I built my .jar file and I put it in the mods folder of Minecraft. The problem is, my custom commands and Blocks work perfectly in the single ...
3
votes
2answers
176 views

Unity 5.3.1: Single player is broken

In Unity I converted my single player game to a multiplayer game. Now, the single player game does not work anymore because the objects are disappearing on start, due to the network identity. What is ...
0
votes
0answers
49 views

Unity3d NetworkServer.SpawnWithClientAuthority

How do I spawn a gameObject with client authority from outside of the main client? I'm trying to make this function: http://hastebin.com/bobezisexa.avrasm But it keeps saying "trying to spawn ...
0
votes
0answers
55 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 ...
8
votes
2answers
14k 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
69 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) ...
4
votes
1answer
196 views

Should I encrypt my multiplayer network traffic?

My plan has been to use RSA to exchange AES session-keys with a client, which is then used for all the usual in-game stuff. Clients never connect with each other, all communication is client to server ...
2
votes
1answer
53 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 ...
1
vote
1answer
52 views

Client-side prediction for movement?

How would client-side prediction for movement work? From how I understand it, the player inputs "Move Forward" and the character on the player's computer instantly starts to move forward. It also ...
45
votes
10answers
9k 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 ...