Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Krillan87 on December 07, 2017, 06:58:32 AM

Title: Photon restart room
Post by: Krillan87 on December 07, 2017, 06:58:32 AM
Hi,

Is there a way of restarting a room without re-loading the whole scene? Right now when my scene loads there is a "lobby" where players can create and join rooms. Each room is like an arena where you fight 1v1v1.

As soon as a player dies the round ends, and there is an option to "restart the round". Is there a easy way of doing this?

I tried "restart level" but this restarts the whole scene and everybody is thrown out to the lobby and needs to create a new room.

I guess that I should have had the lobby-part in a separate scene and when we create a room we also load the "arena scene"?

// Christian
Title: Re: Photon restart room
Post by: djaydino on December 07, 2017, 12:47:51 PM
Hi.
I have not used photon yet but indeed the restart level will restart the scene so you might want to split that up.