It is based on cocos2d-x[version 3.9], but remove 3D and other features. It works on iOS, Android, macOS and Windows.
For Cocos Creator v3.5+, native engine have been merged into engine repository
The major change:
Remove 3D features
Only support iOS, macOS, Android and Windows.
Remove support for LUA script
Remove deprecated classes and functions
Remove Camera
Remove Physics integration
Using FastTileMap instead of TileMap
Remove C++ implementations of CocoStudio parser
Remove C++ implementations of CocosBuilder parser
Remove AssetsManager, AssetsManagerEX
Remove Allocator
Remove AutoPolygon
Remove support for WebP, S3TC, ATITC
Remove support for game controller
Improved robustness and many bugs have been fixed
Clone the repo from GitHub.
$ git clone https://github.com/cocos-creator/engine-native.git
$ cd engine-native
$ npm install
After cloning the repo, please execute gulp init
to download and install dependencies.
$ gulp init
Build simulator
$ gulp gen-simulator
$ gulp update-simulator-config
If you need to debug the simulator on macOS, you should sign the "./simulator/mac/simulator.app" by using codesign
after build, or manually build the simulator project ("./tools/simulator/frameworks/runtime-src/proj.ios_mac/simulator.xcodeproj") in Xcode and enable Signing.
cocos2d-x-lite is licensed under the MIT License. We welcome participation!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。