Questions tagged [multiplayer]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
14 views

How to load additive scenes to the master client, per player, in unity using photon?

I have already successfully created a multiplayer scene where multiple users can join, however there are some issues like unity not allowing multiple sound listeners per scene. In order to alleviate ...
0
votes
2answers
2k 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 ...
6
votes
1answer
9k 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
2k views

FPS Player Camera Rotation using Touch

I am developing an FPS Offline Multiplayer Game. In my game the player rotates using mouse input. I want to rotate using Touch input.Touch to Swipe screen and player can rotate or Camera will be ...
5
votes
1answer
2k 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 ...
0
votes
0answers
16 views

Adding authentication and a game lobby system to a Unity game [closed]

I am in the process of developing an online version of Dungeons & Dragons (not to publish it, but to improve my programming skills). Besides the game itself I want to have an authentication system ...
0
votes
1answer
61 views

TCP vs. Reliable UDP? Sending Reliable Packets in Fast-paced Multiplayer Games?

I'm currently working on a networking framework for Unity3D in order to simplify making multiplayer games. I'm using UDP for any kind of synchronisation and unimportant data. My question is: how do ...
1
vote
1answer
822 views

Communication between Photon Cloud game and web server

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
1answer
127 views

How Client send info to Host in Unity Multiplayer

I want to send player name and other details from client to host device. I have setup game for maximum two players connection. Here is the code that I have tried multiple times with different changes:...
0
votes
1answer
140 views

Is Google Play Games Services Multiplayer (Turn based) free? Is there any limitation on number of users?

I was just visiting Google Play Games Services guide for signing In in Unity. I just came to know there that Google Play Games also provide services for Multiplayer. I'm currently working on my Indie ...
0
votes
0answers
34 views

Real-time multiplayer game and Node.JS as backend server

I want to build a real-time multiplayer game (just for fun and not making money from it) with Unity3D engine. I planned to use Node.JS as backend server but should I use websocket to update player's ...
0
votes
0answers
10 views

conversion between world space and screen space

I am making a multiplayer game with gravity mechanics and planetary motion. I started by hard coding coordinates according to canvas size but now i am realizing that for different resolution planet ...
0
votes
0answers
30 views

PUN2 > Displaying all players' HP to a single pannel of a UI

I've set up a scoreboard-like UI to display all players' in the room as shown in the capture above. What I'd like to do is to display each player's own status info - Life amount as of now then ...
0
votes
2answers
63 views

Getting user id from one scene then to the next scene

I'm new to multiplayer and photon so pardon me if this question is somewhat frequent. I have successfully set up my project to start from a main menu - waiting room - actual gameplay scene. However I ...
1
vote
1answer
77 views

How to support more than 4 XInput controllers?

I'm making a multiplayer game in GameMaker Studio 2. The game supports upto 12 controllers, where the first four are XInput controllers. The rest would be DirectInput. If I try playing with 8 Xbox ...
0
votes
0answers
26 views

In Unity, how to hide objects from specific cameras without using Layers

The situation is that there are multiple players that can collect items. When a player collects an item, the item will disappear from that player's screen but still be visible to other players. I know ...
2
votes
1answer
48 views

Find nearby users by real world location in Unity

I am looking to add a feature to my mobile game (IOS and Android) to let users connect to trade with users nearby in a certain radius based on the real world geolocation. Whats the best approach to ...
1
vote
1answer
3k views

What exactly is a lobby in technical terms?

I've searched afar in google but it seems to have different technical meaning for different games and game engines. what I know is a lobby is a space where people come together and then when certain ...
0
votes
1answer
54 views

How to make it so that players can only see one specific player but not the others?

I'm developing an educational game whose main mechanics are not multiplayer-oriented. However, I would like to add a feature that allows the teacher to enter the game and all students can see him, but ...
-1
votes
1answer
2k 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
0answers
19 views

Client projectile ignores camera Y-axis in multiplayer shooter

I'm able to spawn the bullet and make it move. But the problem is, only the host can shoot the bullet in the way the camera is facing(takes both X-axis and Y-axis correctly). The client takes only the ...
0
votes
0answers
62 views

How should I cycle my game to be more scalable?

I'm trying to improve my game emulator so it can handle more users. I currently have one separate thread and execute all processing there. The cycles processes players and rooms, rooms are individual ...
0
votes
2answers
176 views

Packaging a multiplayer game in unreal

I have created a new project using the third person template. I set the number of players to two in the play settings as well as using a dedicated server. How do I package the project so that I can ...
0
votes
1answer
128 views

Server-side real time position calculation based on destination position - C#

What I want to achieve is to calculate the real object position based on its speed and a destination position. In my server, I have a MapInstance that have a list ...
293
votes
14answers
23k 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. ...
0
votes
0answers
35 views

Does StreamPeerTCP guarantee received packet is same from server?

I'm making simple Godot project that works with Node.js server. To receive and send packet to Node.js server, I used StreamPeerTCP. First seems works, but after 2nd transmission from server, extract ...
0
votes
1answer
212 views

UE4 Multiplayer how to replicate Player name in lobby

I've been working on a little 1V1 snipper project to try and get a better grip on the replication and the game framework of unreal engine. So after the core gameplay, I'm trying to make a lobby ...
0
votes
0answers
24 views

Is It Possible To Make Matchmaking System Without Server? [duplicate]

I want to make a matchmaking system without a server, but I don't know much about matchmaking. First, let me list what I want to do: Cheating is not important in the game, so that the architecture ...
16
votes
3answers
10k views

Player ranking using Elo with more than two players

I would like to use Elo to track player rankings between matches of a certain game, however the game can be played with up to four players in a match. I have seen games like Carcassonne use Elo with ...
0
votes
1answer
126 views

Making 2 Player UI

For practice, I'm trying to remake the character select screen from Street Fighter II. I managed get it working with a Grid Layout Group, ScriptableObjects, and some scripts to have the 1P cursor ...
1
vote
2answers
116 views

Unity FPS - Joining players always take over the camera

I created a "network manager" and a "network manager hud" for the whole scene. My character is a simple capsule and has a camera, a weapon spawner and 3 weapons as children. I gave him a "network ...
0
votes
2answers
217 views

Project organization for a multiplayer client-server game

I'm programming a game 100% in Java but I'm having some issues concerning the final games architecture. I plan on having two separate projects: one that will hold the client side of communication ...
1
vote
1answer
326 views

Multiplayer Synchronization

I am developing multiplayer game in unity. For multiplayer i am using photon networking library. I created room and join client successfully. But Problem is I am doing gameobject movent by this code: ...
0
votes
1answer
364 views

Unity tutorial sync var not working

I tried to make a simple miltiplayer game with the unity tutorial. The Code of the Player looks like this: ...
1
vote
0answers
68 views

Which elements make some maps in multiplayer FPS games more fun than others? [closed]

I'm working on a sci-fi multiplayer FPS game, and am currently designing maps with layout influences from the 2015 Star Wars: Battlefront game and from the original Halo CE game, as those games have ...
0
votes
1answer
59 views

processing request in order on game server

I am creating a simple multiplayer puzzle game in which multiple players can join a lobby and compete with each other. the player that submits the answer first gets the highest point, the player that ...
1
vote
1answer
35 views

How can I send different contoller input to the different player avatars?

My apologies in advance for the vague question, since I don't understand the problem well enough to ask in finer detail. I want to create a multi-player Unity application using the Oculus SDK. Let's ...
1
vote
1answer
89 views

Does P2P Matchmaking can make an online game without any cost?

I’m planning on making an online game. I’ve used Unity (with Photon’s PUN2), but after some research, I had the idea of instead of using a server, with ccu limit and charge fees, i could make a P2P ...
0
votes
1answer
542 views

How to stop a host from the client script?

I am developing a two player multiplayer game. Since its only two players, I don't want to keep my connection open if a player disconnects. Now this works well from the host side, through usage of <...
1
vote
1answer
166 views

Camera follows object and has a target object on the y-axis

I have two capsule objects in a split screen shooter. At this moment, the first camera follows player one, and has the target player two. The second camera follows player two, and has the target ...
4
votes
2answers
2k views

How do I resolve the error “Trying to send command for object without authority.”?

I don't know what I did wrong I tried couple different ways from not using commands to using SpawnWithClientAuthority. But It either gives build and compile errors ...
0
votes
3answers
445 views

Unity FPS Offline Multiplayer (MultiLan) Player Animation

I am creating an FPS game in local multiplayer. One player creates the hot-spot game, and the other one connects through WiFi network and plays the game. And i am doing this using unity MultiLan ...
0
votes
1answer
307 views

Unity2D Multiplayer - Spawning player at user's end

I am currently into a 2d mobile multiplayer project. Its going to be a 2 player game for now. So the host and the client are the only players. I am using Unity 5.4 and the default multiplayer ...
2
votes
0answers
31 views

Sidecar Processes in Unity?

I'm a .NET Core web developer trying to learn Unity. In web development, if I want to perform more than one domain function at a time, I either want to run it as a totally separate service (disjointed/...
0
votes
1answer
80 views

MMO Client-Server Spoofing Vulnerabilities

Ive created a working authoritative client-server system using LiteNetLib for my game however im wondering if packet sniffing+modification is a real worry i should be developing for. I read some ...
0
votes
1answer
59 views

Prevent replay attacks on multiplayer character movement

When a client first connects to the server a Diffie-Hellman key exchange occurs to securely get private encryption keys to encrypt all packets. The problem comes in: what if someone sniffing packets ...
0
votes
0answers
41 views

Interpolation on Client Between Server States

I have an authoritative server which is sending position data to client every 100 ms. Ping between client and server is about 70 ms.(which is actually a variable) I have few questions regarding to ...
0
votes
0answers
72 views

Cost of Unity Local Multiplayer VS Unity Online Multiplayer

I know that making multiplayer games in Unity costs money because of the servers that are used in connecting the players. So basically its free upto 20 CCU and then it increases as per the CCU. Its ...
0
votes
2answers
121 views

Race condition implementing World Boss System in Web Browser MMO using PHP

I am trying to create a world boss system using PHP. But I am having a problem with how to account for all the damage while updating the health of the boss in real-time. The current damage process is ...
0
votes
0answers
31 views

Communication Between Client and Seperate host Unity Unet

I building a realtime multiplayer game like a small quiz game that players can able to join the game and then quiz master who handling the host will launch the game. I need to that how to do this ...

1
2 3 4 5
16