(Updated: v3.13.1 update released) Cocos2d-x v3.13 released!

Compare to V3.11, The font color in 3.13 is changed which created by cocos studio. It looks ugly.
It seems that 3.13 is lost supporting cocos studio.

Where are you looking for these docs?

This has been fixed and a v3.13.1 will be released.

i have a problem to compile this version on a linux 32bit versionā€¦ it said that sqlite3 and chipmunk are missingā€¦ i add it my self but i got a lot of errors with the chipmunk libā€¦ i notice that there is no precompiled lib for the 32bit chipmunk in the external folder of the engineā€¦ is this an error?

I have only really tested on 64-bit Ubuntu. IIRC I was seeing 32-bit errors, but I donā€™t recall what they were off hand.

What is the most stable verson of Cocos2dx that starts with version 3?

Use v3.13. If you go back to previous versions those will have less functionality and who knows what nuances. This is software, every version needs improvement.

hii ,
can someone explain about ā€œ$(call import-module, android/cpufeatures/prebuilt-mk)ā€ line in prebuilt-mk/Android.mk , my cocos compile returned error 2 , but after i remove that line the compilation run perfect , FYI i use gen-libs -p android

Thanks. I tried the latest v3 branch but noticed it wasnā€™t fixed yet in that one. So I should probably get the v3.13.1 branch?

Canā€™t use sdkbox with ver 3.13!

yup. v3 gets branches merged into it after release.

care to elaborate?

I tried to upgrade my project from 3.4 to 3.13 currently, at 3.4 I can build both c++ and java with ā€œbuildā€ button in eclipse, but in 3.13 it lacks the script for eclipse to build c++ side. can I just run ā€œcoco compileā€ to build c++ file first and then use eclipse ā€œbuildā€ button to modify and test my java code? and can I still use eclipse to export signed apk once I already run ā€œcocos compileā€?

Windows-7, C++, migrate from 3.10; compile for Win32, Android; running on Win-7 and Android 4.4.2 device; steps:

  1. Python update: passed, no restart.

  2. Cocos check: ā€œ>cocos -vā€ gives:
    ā€œcocos2d-x-3.13
    Cocos Console 2.1ā€ - seems passed.

  3. New project creation: passed, but seems there is no binary template :frowning: -> too heavy project, too long (first?) build.

  4. Console build have created ā€œunique.apkā€ file, I copy it manually to my device, click to install - passed, then click ā€œRunā€ - device says something like ā€œseems there is a conflict with this app previous versionā€ - impossible - it was very new.

  5. Console run - passed, after that I compare both apk - no difference; uninstall app, install old-bad ā€œunique.apkā€ (it was still on device) - installed and runned manually ok.

  6. Applying ā€œproj.visualstudioā€, then opening properly both ā€œproj.win32.slnā€ and ā€œproj.visualstudio\Cocos2d.slnā€ - passed.

  7. Editing cpp file (unicode text) in VS-2015, then compiling/running it via command prompt on device - passed, createWithTTF(ā€œ1 qwe Š¹Ń†Ńƒ ąčęā€) shows English text and boxes for other encoding characters (Š¹Ń†Ńƒ ąčę).

  8. Compiling/running ā€œproj.win32.slnā€ for Windows-7 - passed, but unicode text displayed wrong:
    createWithTTF(ā€œ1 qwe Š¹Ń†Ńƒ ąčęā€) are not displayed at all;
    createWithTTF(ā€œ1 qweā€) - shows ok;
    createWithSystemFont(ā€œ2 qwe Š¹Ń†Ńƒ ąčęā€, ā€œArialā€, ā€¦) - shows ā€œ2 qwe ??? ???ā€. cocos-v.-3.10 displayed it properly on Windows-7.

  9. Compiling/running ā€œproj.visualstudio\Cocos2d.slnā€ for Android - failed - setting not set properly by me.

Migration reasons:

  1. I wanted full-screen app on android device - I have it, but navigation bar appears and does not disappear after I push physical ā€œvolume up/downā€ buttons on my devise. BTW navigation bar hides cocos app ā€œexitā€ button.
    Adding
    @Override public void onWindowFocusChanged( ... glSurfaceView.setSystemUiVisibility( ... Cocos2dxGLSurfaceView.SYSTEM_UI_FLAG_HIDE_NAVIGATION ...
    into ā€œAppActivity.javaā€ havenā€™t helped, but has freezed the device once (not reproduced).
    App was re-started many times successfully - it was crashing after the same actions, whrn built with cocos-v.-3.10.

  2. Going to check how it works with turn-based-multiplayer via Google-Play-Services - on 2014 ā€œWagon Warā€ ā€¦ soon.

Dear all,

Firstable, thanks for this new version !

But I have a problem when I tried to create the visual studio Android projects (described here : https://blogs.msdn.microsoft.com/vcblog/2016/07/12/cocos2d-x-visual-studio-android-project/#comment-166585)

  1. When I try to create it with android api 19 (KitKat 4.4), I have these errors on the cpp project :
    libcurl.a(libcurl_la-netrc.o): In function `Curl_parsenetrcā€™:

netrc.c:(.text+0x246): undefined reference to `getpwuid_rā€™
=> It seems that the new CURL library uses this getpwuid_r function, which is not available in API 19ā€¦ Thatā€™s the problem ?

  1. Since I saw this function is available from android API 21 (Lolipop 5.0), I tried to create the projects with this API versionā€¦ But in API 21, there is a problem on the APK generation project when compiling Cocos2dxDownloader.java :
    Cocos2dxDownloader.java:15: error: DataTaskHandler is not abstract and does not override abstract method onFailure(int,Header[],byte[],Throwable) in BinaryHttpResponseHandler
    11> [javac] class DataTaskHandler extends BinaryHttpResponseHandler {
    => It seems that BinaryHttpResponseHandler has not the same interface in API 21 ? (Iā€™m not a java specialist, sorry if I made a mistake :stuck_out_tongue_winking_eye:)

Can somebody help me to solve this problem ? (note that Iā€™d prefer to use the API-19ā€¦)

Thanks :sunglasses:

can you ensure you are using v3.13.1 and not just v3.13?

Thanks a lot ! I did not see this 3.13.1 release (since when was it on http://www.cocos2d-x.org ?)

I will do a new try with this version and I will tell you !

(note that since this morning I did a last try with android api 23ā€¦ And it worked (with cocos2d-x 3.13) !)

It was released within the last few hours.

I just retried with v3.13.1 and it is the same problem with API 19 :sob:

But OK, I made this try with VS 2015, but when a project is compiled with android studio, how can it work with API-19 since one of the functions which is not found (getpwuid_r, because there are 2 or 3 other functions which are not found) is called by libcurl and does not exists too !

Can somebody help me ?

I will try to find by myself in parallelā€¦ :disappointed_relieved:

Just FYI, v3.13.1 has now been released. Fixes bugs in Label, Android API, Audio, etc.

https://github.com/cocos2d/cocos2d-x/blob/v3.13.1/docs/RELEASE_NOTES.md#bug-fixed