Developed based on the Cocos 2dx engine, the game “Happy Match” was successfully ported to OpenHarmony

According to news from Gamingdeputy on April 10, according to the official release of OpenHarmony, the casual game “Happy Match” has been successfully ported to the OpenHarmony platform. This game is ported based on Cocos 2dx, the first game engine that supports OpenHarmony.

Cocos mainly has two game engines, Cocos Creator and Cocos 2dx, and a commercial product, Cocos Runtime.The Cocos engine itself has three core features of cross-platform, low power consumption, and high performance, matching OpenHarmony’s intelligent full-scenario, multi-terminal linkage, and cross-device transfer capabilities.In 2022, Cocos successfully adapted the OpenHarmony 3.2 Beta 2 branch based on Creator 3.6.1 and successfully ran the official game case “Eagle Strikes the Sky”, thus becoming the first 3D game engine to support OpenHarmony.“Happy Xiao Xiao Le” is developed based on the Cocos 2dx engine, which is completely open source and is currently the most used game engine by game manufacturers. The successful porting of OpenHarmony for “Happy Match” marks that Cocos has completed the adaptation of two game engines, Cocos Creator and Cocos 2dx, on OpenHarmony.

Advertisement

Happy Xiao Xiao Le

On the basis of the successful porting of the Cocos game engine, the porting team of Le Elements initially determined the goal of “subtraction first, then addition”, and first achieved the minimum set goal including basic gameplay and UI animation rendering. On the basis of the minimum set, gradually improve the basic functions, such as network, music, and sound effects. After improving the basic functions, you will get a version with core functions that can be connected to the Internet. Based on this version, you can expand some peripheral systems, such as login, including payment push for subsequent access, vibration function for optimizing game experience, etc. At the same time, performance testing and optimization were carried out. In just 3 days, “Happy Xiao Xiao Le” ran through the main process and started running successfully.

A few days ago, the OpenHarmony game SIG group has released Cocos 2dx 2.2.6 on Gitee (Gamingdeputy attaches the code link:Click here to view), which will be submitted and merged into the Cocos GitHub official website. Game developers can try to develop and transplant games based on the 2.2.6 engine.

In order to help developers develop applications more efficiently, the OpenHarmony development kit provides developers with a full-link tool chain, covering and meeting the needs of the entire life cycle of application design, development, testing, launch, and operation.OpenHarmony’s official website has launched 19 series of courses and 386 application development samples, demonstrating key capabilities such as OpenHarmony-based network framework, IoT connection, soft bus, ArkUI, speech recognition and response, and image AI recognition. In addition, OpenHarmony’s base technical capabilities have also been continuously enhanced, and now it has more than 16,000 APIs, and has been improved and enriched in application development, multimedia, communication and other capabilities.It will fully support the application development of complex devices with screens such as mobile phones, tablets, large screens, and cars.

Advertisement

Advertisement