Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

How to run a persistent room?

$
0
0
So I made a shooter game with the master client structure and everything works fine, but now I'm trying to create a dedicated server where all clients simply join without anyone being the master client. So basically the server creates a persisten room and everyone else can join and leave.

I downloaded the server SDK and got it to run self hosted, but that's still no client-server structure.
I've been reading the docs but honestly I have no clue.
I'm not sure if I have to code all the server logic or if I can convert my current master client game to a dedicated server somehow?

Can't I just make a unity build which is the master client that creates the room without spawning a player etc, and client builds that simply join a hard coded room name aka the master client's room?

Viewing all articles
Browse latest Browse all 1557

Trending Articles