Skip to main content

Game Integration

How to ensure same game setup for an Async game?

The roomname parameter of KiwiGameInfo is used to uniquely identify the room or a match. For Asynch matches, we use this to make sure the table setup is the same

How to make custom calls to Joyride Analytics?

public static void SendBiEvent(BiEventUpdate eventUpdate)

Above method can be called from game code to send analytics data. While populating the key value pair inside the BiEventUpdateobject, use string constants defined in the BiHandler class only

Why is there a delay between OnRestartCompletion() and StartGameplay() ?

Delay between OnRestartCompletion and StartGameplay(/docs/appendices/appendix-b#startgameplay) exists because in real-time sync game, the harness server waits for all players restart completion and then sends startgameplay command to all user

After OnGamePlayEnded the game ends. Is this the expected behavior?

It is expected behavior. When the game ends inside unity (either due to the timer ending or all steps in game done), the unity engine should stop the game and then call OnGamePlayEnded