目录

Integration Process

Preparing a Development Environment

Before developing a quick game, prepare the development environment.

Developing a Quick Game

Choose a game engine from the table below based on your specific requirements to develop your quick game.

Game Engine

Developing a Quick Game

Cocos Creator

For details, please refer to Cocos Creator development guide.

LayaAir

Egret

Supplementing Necessary Capabilities

[h2]Implementing a Healthy Gaming Advisory Page

Before the actual gameplay begins, the Healthy Gaming Advisory page must be displayed to players. You may insert your own custom advisory page at an appropriate point.

[h2]Implementing the Account Deletion Service

Implement the account deletion logic within your game's business code. This allows users to unbind their HUAWEI IDs from their game data while retaining the ability to create a new character within the game. The implementation details are as follows:

  1. Your game provides a button for account deletion.
  2. When a user taps the button, your game triggers a prompt like "Account deletion will permanently erase all game data under your HUAWEI ID. Please proceed with caution."
  3. Upon the user confirmation, your quick game must delete the game data bound to the user's HUAWEI ID and automatically redirect the user to the game start page.
  4. When the user signs in to your quick game again using the same HUAWEI ID, your game should allow the user to select another region and create a new character, and bind the new game data.

Integrating the Quick Game Service

Integrate the quick game basic capabilities and open services provided by Huawei, for example:

Debugging Your Quick Game

Use breakpoints in QuickGameAssistant to analyze, locate, and fix errors, bugs, or exceptions in your game. For details, please refer to Debugging and Analysis.

Testing Your Quick Game

Run the quick game on a phone and test each integrated Huawei service to ensure that it is error-free and functions as expected. For details, please refer to Testing a Quick Game.

Packaging Your Quick Game

Package the quick game in the game engine. For details, please refer to Packaging a Quick Game.