Questions tagged [multiplayer]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
13 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 ...
0
votes
1answer
76 views

How to handle MANY enemies in networked P2P game?

Let's suppose a game of 4 players, one is the host. They will fight many enemies, along the lines of 20-40 at the time. Among other things like sending their own state to the other players (position, ...
0
votes
1answer
59 views

Avoid players getting stuck by placing items in the same place

Let's assume a multiplayer game of two players. These two players have to place six elements at six different positions. The order or exact place does not matter. As the items are placed correctly, ...
0
votes
0answers
17 views

Connecting clients with UDP and WebSocket connections

I'm in the process of making a physics intensive multiplayer game. Naturally I use a UDP to transfer packets regarding rigidbodies between client and an authoritative server. However non-essential ...
0
votes
0answers
23 views

Can a mobile device create a game server for two-player online games in turn? [duplicate]

First of all excuse me if I say crazy things. I'm trying to make a turn-based multiplayer logic game for two players. This is my purpose: Two types of user, the one who creates the map and the one ...
0
votes
1answer
30 views

Kryonet - Open a server locally only

On the game I'm working on I wanted the singleplayer mode to use an integrated server to make adding more players via networking easier. The way I have it right now is I open a server and connects the ...
2
votes
1answer
100 views

Authenticating users without a username or password

I'm curious about what the process is for anonymously authenticating users when it comes to mobile games. There are quite a few examples out there, but the ones that immediately come to mind are Lords ...
0
votes
0answers
15 views

Phaser + WebSocket server side running very slow, need help optimizing

We're making a web-based game using Phaser and SocketIO for real-time player interaction and synchronization of in-game objects (such as items and enemies with synchronized dynamic movement). Here's ...
1
vote
1answer
68 views

How should I update object movement on Client in a lockstep game?

I have a game that I am implementing a lockstep system for multiplayer on an RTS game. Now the server sends update packets at a higher frequency than the clients with new data. What I'm stuck on ...
-1
votes
1answer
19 views

unity multiplayer components not there

I just learned quite a bit about how to set up a multiplayer system in unity using it's built in scripts. However, when I try to add a network manager to an empty, the search comes up empty! also ...
3
votes
0answers
80 views

Game runs at different speeds in Chrome versus Firefox

I am using Box2D for physics on the server side. Player position is updated on the server, so there is nothing the client can do except give input. But running game in Chrome only, the player moves ...
4
votes
1answer
144 views

What is the cleanest way to code predictable client/server components

Lots of classic games that I've read the source code to do things like if (clientside) // ... or the same but with ...
0
votes
0answers
7 views

Concurrent game sessions supported in AWS Free tier

I have one free year of AWS and planning to utilize that to make online multiplayer games for facebook Instant. The plan is to start making some money to pay to AWS after one year. I have looked at ...
2
votes
3answers
104 views

Testing Multiplayer Browser Game on Single Computer

I am writing a multiplay browser based game and am running into an issue with playtesting simple interactions. When a browser window loses focus is stops running requestAnimationFrame calls. This ...
6
votes
5answers
246 views

Best strategy when player left the online multiplayer game

I have developed a online multiplayer HTML5 card game. This game can be played by four players. Now I am having this confusion on what to do when a player left the game in the middle. Possible ...
0
votes
0answers
20 views

object position handling for multiplayer a game

I am creating a multiplayer HTML game which focuses on manipulating planet trajectories with gravity points. I am creating bunch of planets with random initial velocity and random direction and i am ...
0
votes
1answer
40 views

Multiplayer VR art gallery using different headsets

I'm creating a VR art gallery using Unity3D (like a VR Museum Views with more freedom) and would like to have an environment where 1 or more users can gather together, communicate and move around (...
0
votes
0answers
58 views

Serverless Multiplayer

I wanted to make a game with a "serverless" mobile multiplayer game. The idea was to have devices connect to each other automatically when they are within range. There would be no global game state ...
0
votes
0answers
47 views

How To Display a friend list Using Play fab?

I m making a multiplayer game using playfab. One player send a friend request Second player then not display a player name?? I want the access(display) a player name??? see the referance, Code: <...
0
votes
1answer
57 views

Multiplayer platformer

I'm considering building a multiplayer game having a central server handling the game and keep clients updated. I was checking various examples of ".io" games styles of implementation and seems pretty ...
0
votes
1answer
58 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 ...
2
votes
1answer
205 views

Server game loop

I'm trying to setup a very simple multiplayer game that allows some users to join and walk around. The game is 2D and the players will have a position, the direction they are looking in (it's a top-...
1
vote
1answer
32 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 ...
0
votes
1answer
42 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 ...
1
vote
0answers
49 views

Where and how should I check for collision in multiplayer game?

I'm making a multiplayer game. For now, I added a script to towers and I have booleans to change using OnTriggerEnter. When triggered, client sends a message to server and towers health starts to get ...
1
vote
1answer
93 views

Dynamic Game Server Architecture

I'm trying to find a way to design a game server architecture for a real time mobile game. The design should be cost effective but still to some extend scaleable (later on). Mobile client flow: ...
1
vote
0answers
40 views

How do I support multiple platform patch cycles in a client/server multiplayer game?

I'm making a game with network multiplayer that will be playable with crossplay from multiple platforms. The game is written in c++ and uses regular TCP sockets for network communication. Currently ...
2
votes
1answer
128 views

What to use instead of UNet? [closed]

If you look at this Link you'll see UNet is deprecated and will be removed in the future. I'm developing a mobile multiplayer game, i've red official advise about it but they say "You can publish it ...
0
votes
0answers
42 views

Client side prediction in 2D rigid-body physics

I'm currently working on 2D rigid-body physics multiplayer game using Matter.js for physics (both the client and server side) and Phaser3 for rendering. Both the server and the client run the ...
0
votes
0answers
29 views

How to create Simple Click multiplayer test Game with photon

I am trying to create a simple multiplayer test sample with unity and photon but unable to do so. I am watching the tutorial and reading for 2 days. Now I know how to connect the player to a server ...
0
votes
0answers
35 views

Unity Client and Multiplayer Networking/Architecture

My background is in Enterprise and SaaS web infrastructure. Zero information about games and how their networking works. I only know about the world of browsers and RESTful APIs. I'm planning on ...
1
vote
1answer
52 views

Testing a Client's Camera in a Multiplayer FPS

I'm attempting to do a logic test regarding a client's camera in a multiplayer FPS in Unity and I'm a little uncertain of which way to implement the functionality. The scenario: - I have a host and ...
0
votes
0answers
33 views

How can I debug the logic on my game server?

I am developing a 2D side-scrolling multiplayer game using Node.js. I'm having issues debugging certain aspects of the development process (ex: collision detection, player movement, latency, etc.). ...
0
votes
1answer
105 views

Fast Serialization for Multiplayer Gaming

I wish to make a Java based multiplayer game. I am learning all about sockets and so forth. I have built a very basic UDP system that serializes an object with all the information about the game state ...
1
vote
0answers
19 views

Achieving smooth movement curves & correct collision detection with a google app realtime multiplayer game server

I'm an hobbist game developer. I'm trying to make a clone of a game like this: http://superhex.io/ to experiment with multiplayer online. First of all I'm not sure if there is a better way to ...
2
votes
0answers
60 views

How to Invite Facebook Users to a Unity Game for Android

I am currently using the following code to let the player invite other players to my multiplayer game: FB.AppRequest("Test Message", callback: this.HandleResult); ...
0
votes
0answers
19 views

Unity multiplayer network shooting concept problem

I try to implement multiplayer shooting using raycasts. Usually when the player press the shoot button i cast a ray from the center of the camera in the current direction. But now i am confused how to ...
0
votes
0answers
30 views

Storing entities in a multiplayer socket.io/node.js game

Let's say the server stores each particle as its constituent information (i.e. a JSON of attributes like 'position') and the client stores each particle as a sprite for rendering. How should the ...
0
votes
0answers
76 views

Smooth network movement lunge (UE4)

I am working on a melee in Unreal Engine 4 that lunges towards an enemy until it reaches it and applies damage. I have tried various approaches to get the movement looking smooth on the local client. ...
2
votes
0answers
102 views

How can I implement slow motion for one player in multiplayer?

Special attacks in Mortal Kombat Mobile require slow motion i.e. delay in game play. On multiplayer mode, when the opponent uses special attacks, I don't observe any lag/delay. When I use special ...
0
votes
0answers
10 views

Unity5 NetworkServer spawn method works only inside the editor

I have a script that calls the server to spawn an object when the user press a certain key. The script inerhits from NetworkBehaviour and is attached to the players prefab. ...
1
vote
0answers
26 views

Game Maker picking the wrong network adapter for broadcast

In my game I need to get the local network IP of the computer that is running the game, and for that purpose I have the following code: ...
0
votes
0answers
175 views

How can I reverse engineer an old MMO?

I want to revive an old MMO. Only the old client exists from the game, so I would have to write a whole server for it. I'm not sure how to start editing things in the already made client. Most ...
1
vote
2answers
83 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
0answers
113 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
30 views

How can I handle bouncy collision lag in an online game?

In my online game, each client sends its player's x/y location to the other clients, and the other clients update the location as they receive it, with some interpolation. Issue: The game has bouncy ...
0
votes
0answers
105 views

How to add local multiplayer feature in a game using bluetooth?

I have developed a turn based game using android studio.I want to add local multiplayer feature to it. Don't need a detailed explanation, I need some idea about the following aspects:- Do I need a ...
3
votes
2answers
151 views

How can I handle the difficulty level between co-op and single player?

I'm working on an action-adventure game, and I was considering adding a co-op option. What I'm trying to decide is if when another player joins the game, if the game should get harder. On the one hand,...
0
votes
0answers
160 views

Spawned Network Object with rigidbody moves at different velocity/angle/pos on the clients/host - Unity Unet Mirror

I am using Mirror API with Unity 2019 to make a basic multiplayer game. The game is a simple ice hockey style with cylinder shaped players and a cylinder puck. The players are spawned by Network ...
0
votes
2answers
131 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 ...