playMaker

Author Topic: Photon restart room  (Read 659 times)

Krillan87

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Photon restart room
« on: December 07, 2017, 04: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

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 5546
    • View Profile
    • jinxtergames
Re: Photon restart room
« Reply #1 on: December 07, 2017, 10:47:51 AM »
Hi.
I have not used photon yet but indeed the restart level will restart the scene so you might want to split that up.