Search code examples
androidlinuxcocos2d-androidcocos2d-x

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


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

I use the stable release 0.12.0 (2012-03-05)

  • I compile create-linux-eclipse-project.sh correctly
  • It create a TestCocos2D project on the same path
  • I import the android project to Eclipse
  • I run project and i get the hello world.

But i don't know where start programming the scenes, the director, and how to use it.

I have tried This tutorial but is too old. I can't use the official tutorial because i don' t know where use the code.

Some advice/tutorials to start please?

SOLUTION:

If you are here looking for tutorials, try THIS LINK


Solution

  • cocos2d - android is not updated anymnore. If you are already using Cocos2d-x = crossplatform, you must know that, differently from iOS, in Android you program directly on cpp. The eclipse project uses makefiles to compile the code in cpp, but that code is not with $YOURCOCOS2DPROJECT>android path, it's inside the Classes that Android.mk, compiles the code when uses the eclipse project, and you must put your director, scene and layers over there.