Publishing to QQ Play
Note: there is also a teaching video that can be used alongside this document.
QQ Play is similar to WeChat Mini Games, but built on the QQ platform. QQ Play allows you to play a variety of popular mobile games without downloading them. The underlying runtime of QQ Play is not a real HTML browser kernel, but a self-developed Bricks game engine. Cocos Creator has supported game content cross-platform publishing to QQ Play since v1.9.
As a cross-platform game engine, Cocos Creator's main tasks for users include:
- The engine is responsible for adapting the QQ Play platform, the user's game logic code does not require any additional modifications.
- The Cocos Creator editor provides a packaging process that can be directly published as a game that meets the QQ Play specification.
- Support remote QQ resource loading, caching, and version control of cache resources for QQ Play platform standard.
Use Cocos Creator to publish to QQ Play with one-click.
Ready to work:
Obtain the Bricks engine project (this project is temporarily unavailable, developers can apply to the Cocos Creator engine team for internal testing, or directly apply to Tencent for bitbucket library read access)
- Use Cocos Creator to open the project project you want to publish, and select QQ Play platform in the Build... panel. If necessary, you can set the
Remote server addressoption. Then click on Build.
After the build is complete, a qqplay release package will be generated in the build directory:
- Copy the contents of the qqplay folder to the Res folder of the Bricks Engine project:
- Open the Xcode project in the Bricks engine, you can compile and debug the QQ Play game directly, see the Bricks Engine Official Debugging Document.
QQ Play Known issues:
Currently, only Xcode is used for compiling and developing on Mac. In addition, our adaptation of QQ Play has not been completely completed, and the following modules are still not supported:
- Label: TTF is not supported, and system fonts can only use default fonts.
- Particle system: Does not support storing texture data in plist, only supports texture URL
The above functions are expected to be gradually supported in future updates, and we will continue to communicate closely with QQ Play engineers to continuously optimize the adaptation effect.
- The first package must be within 10MB, and subsequent resources can be deployed on the Tencent CDN using https for loading.
- Software copyright is required before going online, and proof of application number, receipt or receipt of screenshots is provided.
- Except for the games developed by Tencent Studios, the official names such as QQ, Tencent, Everyday, All People, and Joy are not allowed.
- The game must have its own hall. The lobby needs to have a start game (including inviting friends), an item store, and an event entrance.
- The ability to share to QQ friends / QQ space is required in the game.
- The game needs to use the self-built background and must be connected to openkey authentication.
For more details, please refer to QQ Play official documentation.