Cocos native engine for Cocos Creator v2.x

Cocos Creator v2.x 原生引擎。「Native engine for Cocos Creator v2.x」

Github stars Tracking Chart

Cocos2d-x, compact version

It is based on cocos2d-x[version 3.9], but remove 3D and other features. It works on iOS, Android, macOS and Windows.


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 fixed

Git user attention

  1. Clone the repo from GitHub.

    $ git clone https://github.com/cocos-creator/cocos2d-x-lite.git
    $ cd cocos2d-x-lite
    $ npm install
    
  2. After cloning the repo, please execute gulp init to download and install dependencies.

    $ gulp init
    
  3. 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.

Contributing to the Project

cocos2d-x-lite is licensed under the MIT License. We welcome participation!

Main metrics

Overview
Name With Ownercocos/engine-native
Primary LanguageC++
Program languageC++ (Language Count: 12)
Platform
License:
所有者活动
Created At2016-03-14 08:35:33
Pushed At2025-06-12 02:42:19
Last Commit At2023-02-20 10:49:17
Release Count113
Last Release Name2.4.16 (Posted on )
First Release Name1.3.1 (Posted on 2016-11-03 18:08:00)
用户参与
Stargazers Count703
Watchers Count44
Fork Count579
Commits Count4k
Has Issues Enabled
Issues Count187
Issue Open Count78
Pull Requests Count3680
Pull Requests Open Count8
Pull Requests Close Count522
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private