Wait for all player in room loaded scene
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on PUN.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
Wait for all player in room loaded scene
Jaudatus
2018-12-07 13:07:55
Hi,
I have got a lobby with a "ready-system". When every player is ready the masterclient goes to the game scene and all players are following him (sync scene). However how could I "stay" in a loading screen until all players have loaded the scene. Is there an async loading or something?
Thank you,
Greets
Comments
Captain_Pineapple
2018-12-07 14:13:56
Hey there,
I'd suggest to implement a secondary "waiting for other players" screen since it's also satisfying for people to know that their pc is faster than others.
This screen can be blocking in your main scene.
Everyone whofinishes initializing the main scene can then trigger an event to let all others know. Then have the gamemechanics start wenn everyone has finished loading.
Should work as a workaround.
@Captain_Pineapple Hi there,
this is exactly how I'm doing it now. Just want to now if there is another solution :)
Greets
Back to top