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

learn more… | top users | synonyms

2
votes
1answer
63 views

How to compensate for moving objects with client side prediction?

I'm implementing a game server that supports Star Control-like melee. So you have ships flying and shooting, with super simple velocity/acceleration/dampening physics to drive movement. I've read ...
2
votes
1answer
74 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 ...
2
votes
1answer
397 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 ....
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. ...
1
vote
1answer
62 views

Unity 5.3.5 - How to setup a lobby with general game settings?

I am currently working on the lobby for my game. I have followed these tutorials (https://www.youtube.com/watch?v=jklWlm5v21k), which were very helpful, and was able to setup my lobby like this. The ...
7
votes
0answers
108 views

Collisions between players in multiplayer racing game

I'm creating a simple racing game (spaceships, no gravity) using p2.js, phaser and node.js. What I have done: Client receives world state from server: extrapolate other players based on latest ...
2
votes
0answers
53 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
80 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
27 views

How to manage this problem in a multiplayer client-server game with Photon ?

Good day. I'm developing my first simple game, a racing car, using Unity and Photon. In my game there are a function that generate random Bonus on random position each (for instance) 5 seconds. ...
1
vote
0answers
34 views

Networked projectiles in an authoritative server

I'm working on a multiplayer game, and I've implemented a simple enough player prediction (according to this great article) - which works well enough. What isn't discussed there, and my question here;...
1
vote
0answers
30 views

Client-side Prediction and Reconciliation for movement

I've explored the concept of client-side prediction with reconciliation quite a bit and there's one thing that puzzles me a lot. From what I've seen in most guides, the flow looks a bit like this: ...
1
vote
0answers
130 views

How can I detect disconnected clients in a peer-to-peer network of this topology?

I'm working on my first multiplayer game (RTS genre) and for the networking model, I'm leaning more towards a peer-to-peer model as opposed to a client-server model. I want my game to be able to ...
1
vote
0answers
50 views

What i'm missing in this multiplayer Unity / photon code?

i'm having some troubles in my first, simple, multiplayer racing game, using Photon and Unity. Following classic photon tutorial i've written the code below, but, it won't work properly. In ...
1
vote
0answers
75 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 ...
1
vote
0answers
119 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 ...
1
vote
0answers
34 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 == "...
1
vote
0answers
346 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 ...
1
vote
0answers
49 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 ...
1
vote
0answers
73 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 venues....
1
vote
0answers
264 views

Google turn based multiplayer automatch criteria

I've set up a multiplayer game using Google's turn-based API. I now want to put some qualifiers on auto-matching and am racking my brain on how to solve this issue... I'm using GetVariant() to ...
1
vote
0answers
317 views

Cocos2D v3 and Physics simulation on server

I'm trying to develop a real time multiplayer game using Cococs2d v3. The game is basically a side scrolling racing game. I wanted to develop the client using Cococs2d for iPhone, and the server side ...
1
vote
0answers
139 views

How to perform game object smoothing in multiplayer games

We're developing an infrastructure to support multiplayer games for our game engine. In simple terms, each client (player) engine sends some pieces of data regarding the relevant game objects at a ...
1
vote
0answers
145 views

What are the disadvantages of client-side prediction?

There's lots of talk of server-side prediction, but I haven't seen a client-side alternative implemented anywhere. My game uses mouse-based movement, so it's easy to predict the player's location ...
0
votes
0answers
38 views

UE4: Multiplayer Projectile Hit Detection Problem

I'm trying to do Projectile Hit detection in multiplayer game. I'm using next approach: On the server side I'm storing all character's positions with world timestamp(PositionUpdated method). When ...
0
votes
0answers
48 views

Multiplayer game server sync

I am building a 2d multiplayer game with no physics and my own authoritative server. Already have all players getting synced each with other but their movement isn't so smooth yet. Here is the ...
0
votes
0answers
26 views

Is it possible to stream the webcam via Unet (Unity Networking)

I've got my webcam on an ImageTexture in my Scene (with Vuforia), but now I'm struggling and I'm not sure whether it is possible to stream this picture to other players in the Multiplayer "game". I ...
0
votes
0answers
29 views

Need Server to Find Network Identity Components AFTER Initialization

I have a project that spawns bundles of prefabs using a procedural-generation script. Since the Unity networking tool will not recognize child objects as having their own NetworkIdentity, I then move ...
0
votes
0answers
73 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 ...
0
votes
0answers
42 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 ...
0
votes
0answers
121 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
29 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
0answers
120 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 networkIdentity....
0
votes
0answers
74 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
48 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 ...
0
votes
0answers
114 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 ...
0
votes
0answers
42 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 ...
0
votes
0answers
88 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
57 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. ...
0
votes
0answers
125 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 ...
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 ...
0
votes
0answers
33 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
63 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
0answers
33 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 ...
0
votes
0answers
188 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
0answers
617 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
0answers
63 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 ...
0
votes
0answers
337 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 ...
0
votes
0answers
30 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 ...
0
votes
0answers
81 views

What is an efficient/safe way to broker head to head communication for a mobile game

I have a mobile game written in XNA/MonoGame with a wcf server and I am currently designing the head to head competition mode. Previously I have created a game that used UDP to set up communication ...