Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Fletch on July 11, 2013, 03:02:59 PM

Title: Level Change in Photon Multi-Player
Post by: Fletch on July 11, 2013, 03:02:59 PM
I'm at a point now where adding new levels to my multi-player game is a must. 

However, now that I'm sitting here looking at a blank FSM I'm realizing I don't know how to do this?  How is a new scene treated in the Photon world?  It's in the same room but it's a new scene within that room.  Am I over thinking this?
Title: Re: Level Change in Photon Multi-Player
Post by: Dev_Sebas on July 11, 2013, 06:13:33 PM
Please take a look at this topic.http://hutonggames.com/playmakerforum/index.php?topic=2342.msg10529#msg10529 (http://hutonggames.com/playmakerforum/index.php?topic=2342.msg10529#msg10529)
Cheers
Seb
Title: Re: Level Change in Photon Multi-Player
Post by: jeanfabre on July 12, 2013, 03:28:45 AM
Hi,

 room and scenes are separated. a "room" is simply a virtual space where you gather users to play together, they can interact within that room, but not with players not within that room. That's how you can have multi games running at the same time, but players from one game can not see players from other games. think of a tennis game. only two player can play a single game. but many mayn users will play your game, the way to go is to create one room per game, with only two users per room/game.

 now, within this tennis game example, one user might be already read on the court, while waiting for someone to join and play, and for this you might want to have two different scene, one for the menu, and one for the game. so both players are on the same "room" but in different scenes, and that's fine.


bye,

 Jean
Title: Re: Level Change in Photon Multi-Player
Post by: Fletch on July 12, 2013, 10:21:50 AM
So if I built my game with a single scene for the menu and the game, can I just add a scene or do I need to split that up to have one scene for the menu and then 1 scene per level?
Title: Re: Level Change in Photon Multi-Player
Post by: jeanfabre on July 12, 2013, 03:02:57 PM
Hi,

 that's entirly up to you, both are fine. It's more a question of organization.

Read this, it's exactly the same question:

http://hutonggames.com/playmakerforum/index.php?topic=1390.msg13327#msg13327

Bye,

 Jean