Cocos2d-x 3.7.1 released – How to install

Cocos2d-x 3.7.1 recently released, is an open source game engine under MIT license. It can be used to build games, apps and other cross platform GUI based interactive programs. Cocos2d-x allows developers to exploit their existing C++, Lua and Javascript knowledge for cross-platform deployment into iOS, Android, Windows Phone, Mac OS X,Windows Desktop and Linux, saving time, effort and cost. Cocos2d-x is fast, easy to use and loaded with powerful features.

cocos2d-x-featured

Cocos2d-x 3.7.1 changelog

Highlights

  • studio: Added new skeleton animation support and csb parser for cocos v2.3.2 beta
  • studio: Added new skeleton animation support and JSON parser in the web engine
  • studio: Added Skybox csb/JSON parser for cocos v2.3.2 beta

New

  • Node: Added getNodeToParentTransform with selected ancestor
  • studio: Parsed Touch/Click/Event callback in JSON parser
  • web: Added cc.director.setClearColor and support transparent background
  • web: Added Animate’s getCurrentFrameIndex function

Refine

  • studio: Optimized JSON parser’s performance by removing audio play
  • studio: Optimized editor related extension data to a component instead of hosting in _userObject
  • studio: Updated Game3DNodeReader & UserCameraReader
  • web: Improved color/opacity manipulations in MenuItems

Fix

  • Scene: Fixed Scene can’t be inherited with std::vector members
  • Label: Fixed creation fail if the font(TTF) contains a non-unicode charmap
  • platform: Fixed building with system prebuilt libs on Linux
  • studio: Fixed ccs.Skin construction issue in JSON parser
  • web: Fixed an issue that loading process won’t trigger callback problem
  • web: Fixed a bug where not resetting cc.Audio._ignoreEnded when replaying a sound caused it to stay in a “playing” state
  • web: cc.ScrollView and cc.TableView: added check for parent visibility in onTouchBegan method
  • web: Fixed TurnPageDown effect

Install Cocos2d-x 3.7.1 on Ubuntu OS

sudo apt-get install git

git clone https://github.com/cocos2d/cocos2d-x.git

cd cocos2d-x/build

./install-deps-linux.sh

python ../download-deps.py

git submodule update --init

cmake ..

make cpp-empty-test

– Test run the sample

cd /bin/cpp-empty-test

./cpp-empty-test
 
comments powered by Disqus