Where can I find a good tutorial to start programming with Cocos2D-x?

I have some problems to start programming using cocos2D on linux + android.

I am using stable release 0.12.0 (2012-03-05)

  • I am compiling create-linux-eclipse-project.sh correctly
  • It creates a TestCocos2D project in the same way
  • I am importing an android project in Eclipse
  • I am launching a project and I get the world hi.

But I do not know where to start programming the scenes, the director and how to use it.

I tried this tutorial , but too old. I can’t use the official official because I don’t know where to use the code.

Some tips / tutorials to get you started?

DECISION:

If you are looking for tutorials, try THIS LINK

+3
android linux cocos2d-x cocos2d-android
Apr 02 2018-12-12T00:
source share
2 answers

cocos2d - android is not updated by anymnore. If you are already using Cocos2d-x = crossplatform, you should know that, unlike iOS, in Android you program directly in cpp. The eclipse project uses make files to compile the code in cpp, but this code does not have the path $ YOURCOCOS2DPROJECT> android, it is inside the classes that Android.mk compiles the code when using the eclipse project, and you have to put your director, scene and layers there.

+3
Apr 3 2018-12-12T00:
source share

I will not use Cocos2d for Android, because Cocos2d has not released a stable version for a long time. I do not think that they will add more support in the future. Instead, switch to Cocos2d-x. For more information, go to http://www.cocos2d-x.org/

You can create an ios + Android game in one go. :)

+4
Apr 03 '12 at 6:28
source share



All Articles