Skip to content

sunnylanwanjun/cocos2d-x-lite

 
 

Repository files navigation

Cocos2d-x, compact version

Build Status

It is based on cocos2d-x[version 3.9], but remove 3D and other features. It works on iOS,OS X, Android 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
    
  2. After cloning the repo, please execute download-deps.py to download and install dependencies.

    $ cd cocos2d-x-lite
    $ python download-deps.py
    
  3. After running download-deps.py.

    $ git submodule update --init
    
  4. Build simulator

    $ npm install
    $ gulp gen-simulator
    $ gulp update-simulator-config
    

    If you need to debug the simulator on macOS, you should sign the simulator project in "tools/simulator/frameworks/runtime-src/proj.ios_mac/simulator.xcodeproj" before running gen-simulator.

Contributing to the Project

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

About

Lite version cocos2d-x based on Cocos Runtime

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 81.7%
  • C 5.6%
  • Objective-C++ 5.2%
  • Java 3.0%
  • JavaScript 2.1%
  • Objective-C 1.2%
  • Other 1.2%