3.4 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
- use 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.
Audio engine improve 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. We finally choose to use it. What's exciting is what, after using tremolo
, the audio engine's performance is highly improved too.
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+ remove ant scripts and android
tool, this leads to that cant not use cocos command to generate apk files. Currently, cocos command will do nothing if using SDK Tools 25.3.0+. We may remove eclipse project support in future as Google focus on Android Studio.