axmol/docs/RELEASE_NOTES.md

3.9 KiB

Table of Contents generated with DocToc

Cocos2d-x 3.15 Release Notes

Misc Information

v3.15

Highlights

  • full Android Studio supports: include editing, compiling and debugging c++ codes: doc
  • audio engine uses tremolo to decode audio files on Android: high performance and more adaptable to different Android devices
  • WebSockets and SocketIO supports SSL
  • AssetsManagerEx is more stable
  • update Spine runtime to v3.5.35
  • update flatbuffer to v1.5
  • remove support for Windows 8.1 store and phone
  • update OpenSSL to v1.1.0
  • remove linux 32-bit support

Feature in detail

Full Android Studio supports

Since v3.15, can use Android Studio 2.3+ to edit, compile and debug c++ codes. What you need to do is just use Android Studio to open proj.android-studio(such as tests/cpp-empty-test/proj.android-studio), then click run menu button to run on Android devices or simulators.

Please refer to this doc for detail usage.

Audio engine improved on Android

Before v3.15, new Audio engine uses OpenSL ES to decode and play audio files. But many Android device manufacturers modify OpenSL ES decoding codes which cause issues. This thread lists many issues caused by it.

In order to fix these issues, we decide to use a 3rd party audio decoding library tremolo, which is used by Android have good performance and stability. What's exciting is what, after using tremolo, the audio engine's performance is highly improved too.

audio performance

Remove support for Windows 8.1 store and phone

MS guys maintain Windows 8.1. They think there is not need to support it, so they remove the support.

Remove linux 32-bit support

Most PC are 64-bit, so we decide to remove linux 32-bit support. By remove 32-bit linux support, cocos2d-x zip file is more less, and we can have more resource on more important things.

If you need linux 32-bit support, you can build the 3rd party libraries through cocos2d-x-3rd-party-libs-src repo by yourself.

misc

Android SDK Tools 25.3.0+ removes ant script and android tool, which leads to that cocos command can not generate apk files with Eclipse projects(proj.android). Currently, cocos command will do nothing if using SDK Tools 25.3.0+, you can use these two methods to fix it:

  • copy tools folder from old Android SDK version
  • use Android Studio to build the app

It seems google doesn't want developers continue to use Eclipse to develope Android applications, so i suggest to switch to use Android Studio.