问题
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
回答1:
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.
回答2:
I won't prefer Cocos2d for Android because Cocos2d has not released a stable version of it for a long time. I don't think they are adding more support to it in future. Instead go for Cocos2d-x. For more info go to http://www.cocos2d-x.org/
You can create ios+Android game at one go. :)
来源:https://stackoverflow.com/questions/9979795/where-can-i-find-a-good-tutorial-to-start-programming-using-cocos2d-x