Publish to LinkSure Mini Games

    LinkSure Mini Game is a mini game application platform of WiFi Master Key, which is convenient, lightweight and without installation.

    The LinkSure Mini Game runs as a cpk game package in the mini game environment, which is similar to the WeChat Mini Game. The game package is hosted in the cloud, put and run in the APP, safe, reliable and experience smooth, users can tap to play, without installation.

    Use Cocos Creator to open the project that needs to be released. Open the Build panel from the Menu bar -> Project, select LinkSure Mini Game in the Platform dropdown of the Build panel.

    The specific filling rules for the relevant options configuration are as follows:

    • Main Bundle Compression Type

      Set the compression type of the main package, please refer to the built-in Asset Bundle — documentation for details.

    • Main Bundle Is Remote

    • Start Scene Asset Bundle

      This option is optional.
      If set, the start scene and its related dependent resources are built into the built-in Asset Bundle — to speed up the resource loading of the start scene. Please refer to the Start Scene Loading for details.

    • Resource Server Address

      This option is optional and used to fill in the address of the remote server where the resources are stored.

      • If this option is left blank, the build/link-sure/remote folder in the release package directory will be packaged into the cpk package.

      • If this option is filled in, the folder will not be packaged into the built cpk package. You need to manually upload the remote folder to the filled in Resource Server Address after build.

      Refer to the Resource Management section at the bottom of the document for more details.

    After the relevant options of the Build panel are set, click Build.
    After the build is complete, click the Open button behind the Build Path to open the release package directory. You can see that the folder is generated under the default release path build directory, which is the exported LinkSure Mini Game project directory and cpk.

    • You need to first contact the to become a mini game developer.

    • After the review is approved, click the Version Management on the back of the mini program.

      add

    • Then click Upload Developer Version to upload the built cpk, which will only save the latest upload. The cpk that is uploaded later will overwrite the version that was uploaded earlier.

    • Click the View QR Code after uploaded, then open the LinkSure Mini Game Debugger already installed on your phone to scan the code. You can now preview the game on the physical device. If you need to debug the game, refer to the official documentation LinkSure Mini Game debugging [cn].

    For more information, please refer to the documentation.

    Cocos Creator already helps developers with downloading, caching and version management of remote resources. The specific implementation logic and operation steps are similar to the WeChat Mini Game. Please refer to the Resource Management for the WeChat Mini Game documentation for details.