Game start
The method ysdk.features.loading_api.ready()
indicates the moment when the game has loaded all resources and is ready for user interaction.
function init(self)
ysdk.features.loading_api.ready()
end
Yandex Games operate worldwide, which is why collecting statistics is important for improving game loading speed and accessibility. For example, based on this data, we decide where to deploy new data centers.
This method will also allow us to add new features in the future to make beneficial use of game loading time, such as:
- displaying another ad block, which will generate additional income for the developer;
- a common loading screen for all games, with game screenshots or reviews, which will increase the game's appeal.
When using the method, ensure that at the time of invocation in the game:
- all elements are ready for player interaction;
- there are no loading screens.
Was the article helpful?
Previous