All Questions
Tagged with multiplayer game-development
36 questions
2
votes
2
answers
72
views
Phaser: Beginner and having issues syncing multiplayers into different scene
I'm building a multiplayer game using Phaser 3 and Socket.IO. I have two scenes: CommonScene and BridgeScene. Players can move around and see each other in CommonScene, and there's a zone that ...
1
vote
1
answer
36
views
Why does the rotation of my gameobject not syncronize between client and host?
I needed my bow to rotate towards my mouse, however even though I have attached a client network transform to it and allowed it to synchronize the z-axis rotation, it only works on the host (if I ...
0
votes
0
answers
67
views
How can handle multiple game lobbies in Unity?
I'm developing a multiplayer game using Unity and Mirror where I need to manage multiple independent game lobbies on a single server. Each lobby should be isolated from the others, meaning players in ...
0
votes
0
answers
54
views
GODOT 4.0 MultiPlayer FPS Server Shooting Not Working
im making a 3d multiplayer fps in godot after adding mp and upnp capabilities my shooting function stoped working i added print statments both in the function and when the input is registered, it will ...
0
votes
0
answers
198
views
Enet Multiplayer Game not connecting over the internet
I am trying to make a multiplayer 2d shooter game using Enet. I wanted to test its networking capabilities with a friend. It uses a hybrid p2p and p2c architecture (A player can host a game, kinda ...
-1
votes
1
answer
97
views
Using Photon in Unity cannot sync variables through RPC call
So i am working on a multiplayer game made in Unity using Photon,
i have a gameobject with a phtonView component and a script with a bool that i want to synchronize to all clients
but i have a problem,...
0
votes
2
answers
982
views
Untiy Netcode For GameObject unable to connect to remote server
I am recently trying out the new unity networking solution which is netcode for gameobjects . In Unity using netcode for gameobjects i tried making a simple game which consist of a server and clients ...
-1
votes
1
answer
94
views
How to take reference for a script using another script
Basically i want to make a multiplayer game, for which I have a player prefab
Here's it's contains
And I have a Gameobject outside this prefab which use reference player prefab CameraPos
I am using a ...
-2
votes
1
answer
863
views
NetworkServer.Spawn() not spawning object at correct position on Client-side with Mirror and Unity
I'm making a card game using the mirror in unity and I came across a problem with NetworkServer.Spawn(), would spawn the GameObject at the same position and rotation that I instantiated it at. ...
0
votes
0
answers
70
views
How to make real-time pvp game where both players perceive in-game time normally while actual relative time-flow speed between them is different?
I was thinking about making a real-time (not tour-like) PvP game where both players among other attributes would have 'speed' attribute that would define their movement and attack speed.
But because ...
-1
votes
1
answer
124
views
Particle system in netcode for gameobjects
im developing a realistic fps with multiplayer using netcode for gameobjects.
Im stuck at trying to get the muzzle flash effect to show for the other player,
im experienced with unity but not with ...
0
votes
1
answer
151
views
Why does using PhotonRigidbody2DView give 'elastic' movement?
I'm currently using photon pun 2 to learn simple 2d multiplayer.
Using PhotonRigidbody2DView is giving an 'elastic' movement to the player. The player goes forward a bit and then returns to the ...
0
votes
2
answers
610
views
Creating multiple spawnpoints in Unity Multiplayer
I'm kinda new to unity, been spinning my head around it this couple of last days. I've encoutered a problem where when I'm spawning 2 or more players into my scene they just get launched out of the ...
0
votes
0
answers
391
views
User's name not showing in multiplayer godot waiting room
so i was following a multiplayer godot tutorial on YouTube by ruyuse everything worked well (the server) until i got to the waiting room which is supposed to show the names of players joined, from ...
0
votes
2
answers
63
views
Problems With Client Side Prediction for X-Velocity in JavaScript
So I'm trying to code a simple online multi player game using JavaScript and WebSockets.
And I'm currently working on combatting lag issues:
To do so I measure the amount of time it takes for the ...