1 Answer
- Newest
- Most votes
- Most comments
0
Hello, Remeber you can generate a Flex Match either for one player o for multiple players, when each player has a standalone client and they are looking for a match individually you will be using the single player flexmatch. After a match is found your game receives match results in a successful matchmaking event. Result data includes a list of all matched players and their team assignments Please Reference this documentation as a step by step guide on matchmaking workflow
answered a year ago
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago
Thank you. It is the section of the docs that my question is related to: https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-client.html
"Add code to your client service to handle a successfully formed match (status COMPLETED or event MatchmakingSucceeded). This includes notifying the match's players and handing off connection information to their game clients.
For games that use Amazon GameLift managed hosting, when a matchmaking request is successfully fulfilled, the game session connection information is added to the matchmaking ticket. Retrieve a completed matchmaking ticket by calling DescribeMatchmaking. Connection information includes the game session's IP address and port, as well as a player session ID for each player ID. Learn more in GameSessionConnectionInfo. Your game client can use this information to connect directly to the game session for the match. The connection request should include a player session ID and a player ID. This data associates the connected player to the game session's match data, which includes team assignments (see GameSession)."