playMaker

Author Topic: Playmaker and Photon Multiplayer[SOLVED]  (Read 1696 times)

robluk3833

  • Playmaker Newbie
  • *
  • Posts: 34
Playmaker and Photon Multiplayer[SOLVED]
« 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?
« Last Edit: April 02, 2018, 02:32:53 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker and Photon Multiplayer
« Reply #1 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



robluk3833

  • Playmaker Newbie
  • *
  • Posts: 34
Re: Playmaker and Photon Multiplayer
« Reply #2 on: March 26, 2018, 11:04:39 AM »
Yes, thank You:)