When I saw a post a while back asking if Cocos could develop an App(not a game), I couldn’t help but gasp.
For so many years, there are those who are asking the, explain what? – for a long time, the cocos in terms of application development, Internet has not enough resources accumulation (this is normal, the direction of the cocos is game), someone always have the need, however, I thought I should be a walk in the front of the road, now, I share my work out!
Since COcos2dx 3.x, I have been using it to develop application apps. In 5 years, there have been nearly 20 commercial apps on the online store. Don’t worry about performance, experience, power consumption, etc. Just do it!
The composition of App is: iOS native + Android native + JS, the native part is map, payment and other third-party access, JS interface and business logic. Based on the version 3.16 — it is the most stable, based on this version I wrote a development framework, not only for the development of applications, but also online games, wechat official accounts, wechat games, QQ games, douyin games. (Search for “Lunch Rider” and “Slingshot” on all platforms)
Since cocos2DX stopped updating, I have turned to CoCOS Creator, currently the latest version is Creator3.1.1 released in 2021.6.1,
Therefore, I wrote an App development framework based on Creator3.1.1 and shared it with code friends. The open source address is at the back
The framework of the App based on COCOS is named CX-CoCOS. Above is some screenshots of the App I developed with CX-Cocos:
The above are the screenshots of some apps. They all use CX-CoCOS in terms of native integration. Due to the needs of the project, we have integrated the following third-party SDK:
- Location and map: Gaud location and map, Baidu location and map
- Payment: Alipay, wechat, ApplePay, Apple Buy, AndroidPay, CMB One Netcom, Cloud flash pay, Telecom Wing pay
- System: camera, photo album, phone, address book, open PDF/Word/PPT/Excel
- Recognition: TWO-DIMENSIONAL code recognition, Hongsoft face recognition + authentication, ID card recognition
- Share: Share to wechat, moments, Weibo, QQ
- Charts: MPAndroidChart, iOSChart
- Community: Changyan, Youmeng Community
- Statistics: Ali statistics, Umeng statistics
- Network: Socket communication
- Video: libSDL2.0, libMPEG (Push stream and Play stream)
- Game advertising platforms: Google, Admob, Facebook, Topon, Yomob
At this point, as you already know, we’ve built a lot of cocos development apps that have stood the test of time. However, the power of individuals is limited after all. I hope that through the open source of CX-CoCOS, more code friends will join in and explore the road of COCOS App development.
Here are some screenshots from the open source demo. The interface is simple, but CX-Cocos is not just a UI, it is a development model, a development framework.
Cx-cocos project address: complete framework and demo project github.com/blanking003…
Detailed features and usage descriptions are available in the READme:
- Main functions of CX-COCOS
- Structure and principle of CX-CoCOS
- How do I run demo App
- How to start a project of your own using CX-CoCOS
- …………………
If you have any questions, please comment below.