Sign In Register

How can we help you today?

Start a new topic
Answered

Challenges VS Matches

What's the differences between Challenges and Matches ?

Can we create on runtime ?

Are the players visible to the others when they are in a challenges/matches ?


Best Answer
Hey There,

The term 'matches' us use in the GameSparks platform doesnt refer to matches, like in a game of football; Instead, we use it to describe how we can search for players with similar attributes or criteria that you might want to enter challenges, or games, or whatever your game is doing with opponent players.

So a match object contains a list of players. You can set this up in the portal.
(Here is a tutorial, and some further documentation here).
And you can setup matches at runtime using SparkMultiplayer.

Once a player has been added to a match-list, you can get their player-id using 'getParticipants', you can then use that to get all the player details for anyone in that match-list. So you can then display the details of other players if you want.

Hope that helps,
Sean

 

1 Comment

Answer
Hey There,

The term 'matches' us use in the GameSparks platform doesnt refer to matches, like in a game of football; Instead, we use it to describe how we can search for players with similar attributes or criteria that you might want to enter challenges, or games, or whatever your game is doing with opponent players.

So a match object contains a list of players. You can set this up in the portal.
(Here is a tutorial, and some further documentation here).
And you can setup matches at runtime using SparkMultiplayer.

Once a player has been added to a match-list, you can get their player-id using 'getParticipants', you can then use that to get all the player details for anyone in that match-list. So you can then display the details of other players if you want.

Hope that helps,
Sean

 

Login to post a comment