Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: robluk3833 on March 23, 2018, 12:41:15 PM

Title: Playmaker and Photon Multiplayer[SOLVED]
Post by: robluk3833 on March 23, 2018, 12:41:15 PM
I am watching photon tutorials, because Playmaker give a way to create multiplayer. All those tutorials, are showing how players create room, and others joining to room. I would like create game, where Playmaker searching for players, and will connect them to fight. Is it possible to do with photon such way, without creating, and joining to the room? Just straight to fight?
Title: Re: Playmaker and Photon Multiplayer
Post by: jeanfabre on March 26, 2018, 02:11:38 AM
Hi,

 Yes, you simply first try to join a random room ( room already created should only allow 2 players, and so random join would only join rooms with a missing player).

and if the join random fails, you create a room.

that's it. the rest is pure UX, meaning you need to show this in a intuitive form. for example, creating a room doesn't have to make the player leave the menu and join the game scene straight away, you could keep the user in the menu, with an indication that he's currently waiting for another player to join.

Does that make sense?

 Bye,

 Jean


Title: Re: Playmaker and Photon Multiplayer
Post by: robluk3833 on March 26, 2018, 11:04:39 AM
Yes, thank You:)