Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

GPGS v2 - Match making tutorial
Started by gorosoft Mar 25 2019 02:03 AM

No replies to this topic
gpgs automatch realtime multiplayer
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 23 posts
  • Corona SDK



Does anybody know how auto match making is done in gpgs plugin v2?


I'm asking help for it because in my game I can match 1v1 but I can't match 2v2.


For example: 


I have a button for 1v1 battle:

myApp.gpgs.multiplayer.realtime.create({automatch = {minPlayers = 1, maxPlayers = 1}}) (Works for a 1v1)


and other button for 3 players game:

myApp.gpgs.multiplayer.realtime.create({automatch = {minPlayers = 2, maxPlayers = 2}}) (Never auto match players, and keeps waiting UI without matching players in all three devices)


am I doing something wrong?


Thank you