Platforms to show: All Mac Windows Linux Cross-Platform

GKTurnBasedMatchMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class GameKit MBS MacFrameworks Plugin 12.3 Yes No No Yes, macOS only No
Function: The GKTurnBasedMatch class allows your game to implement turn-based matches between sets of players on Game Center.
A turn-based match uses a store-and-forward approach to share data between the participants. When a player participating in the match performs actions to advance the state of the match, your game uploads data to Game Center that defines the new state of the match and tells Game Center which player act next in the match. Later, when the next player launches your game, it downloads the match data from Game Center and continues the match. Players continue to take turns acting (based on whatever internal logic your game implements) until the match ends. A key advantage of turn-based matches is that a player may participate in multiple matches simultaneously.

see also

Feedback, Comments & Corrections

This class has no sub classes.

Some events for this class:

The items on this page are in the following plugins: MBS MacFrameworks Plugin.

GKTurnBasedMatchmakerViewControllerMBS   -   GKTurnBasedParticipantMBS

The biggest plugin in space...

MBS Xojo tutorial videos