NOTE : From tag v5, this repo remove all templates, just provide a runable lua app and a tool for rename the app.
It bases on cocos2d-x v3 branch, but remove 3D and other features. It works on iOS, Android, OS X and Windows.
The major change:
- Only support iOS,OS X,Android and Windows.
- Remove 3D features
- Remove support for JS script
- Remove deprecated classes and functions
- Remove Camera
- Remove Physics integration
- Remove C++ implementations of Component
Remove C++ implementations of CocoStudio parser- Remove C++ implementations of CocosBuilder parser
- Remove AssetsManager, AssetsManagerEX
- Remove support for ~~~WebP~~~,S3TC,ATITC
Remove FastTileMap, TileMap- Remove Menu
- Remove Audio
- Improve module compile
cocos/base/ccConfigUser.h
- Improve curl library, only support
socket
andhttp
protocol - Add CC_MINI_2D / CC_USE_FREETYPE / CC_ONLY_PNG
- Add CC_USE_SPINE
- Add CC_USE_AUDIO_ENGINE
- Add CC_USE_NETWORK
- Add FMOD
- Restore ui module (NOT depend CocoStudio)
- Restore
Focus
event (need byui
) - Restore
CocoStudio
module - Keep working with
CocosStudio
after 3.14.1 (cocos2d/cocos2d-x#17349 (comment))
- pidcat Colored logcat script which only shows log entries for a specific application package.
- sprite-sheet-packer Sprite sheet packer
- ImageOptim GUI image optimizer for Mac
- ZeroBrane Studio ZeroBrane Studio is a lightweight Lua IDE
I can’t step into functions defined in other files in my project. You either need to open them in the IDE before you want to step through them, or to configure the IDE to auto-open files requested during debugging using editor.autoactivate = true. RESTART, RESTART RESTART ZBS IDE
-
setup env
$ # clone repo $ git clone https://github.com/c0i/cocos2dx-lite.git $ cd cocos2dx-lite $ ./setup.py $ source ~/.bash_profile
-
try with player project
$ open player/proj.ios_mac/player.xcodeproj/ $ or $ cocos run -p mac # ios, android
Cocos2dx-lite is licensed under the MIT License. We welcome participation!
There are lots of better cocos2d-x forks:
-
https://github.com/newnon/avalon
Productivity boost for cocos2d-x developers.
Avalon provides various extension, helpers, libraries, classes, templates & functions on top of cocos2d-x. It should speed up cross-platform development and automate annoying tasks.