Game start
Yandex Games operates worldwide, so collecting statistics is important for improving game loading speed and availability. For example, we use this data to decide where to deploy new data centers.
Understanding when games are loaded will allow us to add new features: showing a loading screen common to all games, game screenshots, or reviews. This will make games more attractive.
The method ysdk.features.loading_api.ready() indicates the moment when the game has loaded all resources and is ready for user interaction.
1function init(self)
2 ysdk.features.loading_api.ready()
3end
When using the method, make sure that at the time of the call in the game:
- all elements are ready for interaction with the player;
- there are no loading screens.
Was the article helpful?
Previous