Installation

Installing the Plugin from Cocos Store

You can install the plugin directly from the Cocos Store.

Installing the Plugin from the Repository

After downloading the plugin, open your project in Cocos Creator or create a new one. In the top panel, hover over Extension and select Extension Manager.

Next, hover over Import Extension File (.zip) and choose the plugin you previously downloaded from the dropdown menu.

Template Setup

Most likely, after installing the plugin, you'll see messages similar to those shown below. This occurs because Yandex Games requires Yandex Games SDK to be imported directly into files like index.html, which appear after compilation.

To resolve this issue, visit the new Yandex Games SDK section and select the template generation option, allowing the plugin to generate the necessary templates on its own. You can also write them yourself.

If the templates compile successfully, the plugin should output a message similar to the one below in the console. This means everything is fine, and you can start working.

For more detailed information: build template setup, Cocos Creator web view setup.


Repository