https://github.com/cocos/engine-native
Native engine for Cocos Creator v2.x
https://github.com/cocos/engine-native
3d cocos cocos2d game-development game-engine ios metal rendering vulkan
Last synced: about 2 months ago
JSON representation
Native engine for Cocos Creator v2.x
- Host: GitHub
- URL: https://github.com/cocos/engine-native
- Owner: cocos
- Created: 2016-03-14T08:35:33.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-01T06:19:17.000Z (9 months ago)
- Last Synced: 2024-08-05T02:01:21.563Z (9 months ago)
- Topics: 3d, cocos, cocos2d, game-development, game-engine, ios, metal, rendering, vulkan
- Language: C++
- Homepage: http://www.cocos.com/en/products
- Size: 186 MB
- Stars: 696
- Watchers: 45
- Forks: 568
- Open Issues: 83
-
Metadata Files:
- Readme: README.md
- License: licenses/LICENSE_CCBReader.txt
Awesome Lists containing this project
README
Cocos native engine for Cocos Creator v2.x
==========================It is based on [cocos2d-x](https://github.com/cocos2d/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](https://github.com/cocos/cocos-engine)**
------------------------------------------------
The major change:
- Remove 3D features
- Sprite3D
- Skybox
- Terrain
- Light
- Navmesh
- Physics3D
- BillBoard
- Animate3D
- Bundle3D
- MeshSkin
- etc..- 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 fixedGit user attention
-----------------------1. Clone the repo from GitHub.
$ git clone https://github.com/cocos-creator/engine-native.git
$ cd engine-native
$ npm install2. After cloning the repo, please execute `gulp init` to download and install dependencies.
$ gulp init
3. Build simulator
$ gulp gen-simulator
$ gulp update-simulator-configIf 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.
Contributing to the Project
--------------------------------The engine code is open sourced under the [License](https://github.com/cocos/cocos-engine/blob/develop/licenses/ENGINE_license.txt). We welcome participation!