2024-01-25 18:59:35 +08:00
2023-08-09 15:30:54 +08:00
2022-06-29 11:48:55 +08:00
2022-06-29 11:48:55 +08:00
2022-06-29 11:48:55 +08:00
2022-06-29 11:48:55 +08:00
2022-11-01 15:29:00 +08:00
2022-06-29 11:48:55 +08:00
2022-06-29 11:48:55 +08:00
2022-06-29 11:48:55 +08:00
2022-06-29 11:48:55 +08:00
2022-06-29 11:48:55 +08:00
2022-06-29 11:48:55 +08:00
2022-06-29 11:48:55 +08:00
2022-06-29 11:48:55 +08:00
2022-06-29 11:48:55 +08:00
2022-06-29 11:48:55 +08:00

Cocos2d-x, compact version

该项目主要用于非cocos项目 iOS和android native接入js运行环境

移除了 cocos/scripting/js-bindings下跟webgl有关的代码

iOS项目使用时直接将build/cocos2d_libs.xcodeproj 拖入目标项目

Build Status

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!

Description
No description provided
Readme 898 MiB
Languages
C++ 72%
Python 9.2%
C 7%
Objective-C++ 4%
Java 3.4%
Other 4.3%