Giter Site home page Giter Site logo

czjone / cocos2d-x-lite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cocos/engine-native

0.0 1.0 0.0 26.66 MB

Lite version cocos2d-x based on Cocos Runtime

Batchfile 0.01% C++ 74.39% Objective-C 1.21% C 8.58% Makefile 0.25% Objective-C++ 2.91% GLSL 0.30% CMake 0.01% Java 2.86% JavaScript 9.19% Python 0.31%

cocos2d-x-lite's Introduction

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,OS X,Android and Windows.

  • Remove support for LUA script(It's temporary)

  • 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 sign-simulator
    $ gulp gen-simulator
    $ gulp update-simulator-config
    

    gulp sign-simulator only need to run on Mac. It can help you to sign the simulator project in "tools/simulator/frameworks/runtime-src/proj.ios_mac/simulator.xcodeproj", so you can debug the simulator on Mac. This command will open the XCode project in the background. Then you should set the signing manually, and close XCode to make it finished. If you don't want to sign it, just close XCode directly. You need to rerun this command once the project is changed.

  5. Build prebuilt library

    $ gulp gen-libs
    

Contributing to the Project

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

cocos2d-x-lite's People

Contributors

nantas avatar pandamicro avatar zilongshanren avatar 2youyou2 avatar wenhailin avatar cocosrobot avatar knoxhuang avatar jareguo avatar minggo avatar hylthink avatar dabingnn avatar jgod avatar colinsusie avatar huangapple avatar xlzytf avatar

Watchers

solyess avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.