我在哪里可以找到一个很好的教程开始使用的Cocos2D-X编程? [英] Where can I find a good tutorial to start programming using Cocos2D-x?

查看:201
本文介绍了我在哪里可以找到一个很好的教程开始使用的Cocos2D-X编程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些问题,开始在Linux上的Andr​​oid +使用cocos2D上节目。

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

我用的是稳定版本0.12.0(2012-03-05)

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


  • 我正确编译create-linux-eclipse-project.sh

  • 它创建相同的路径上的TestCocos2D项目

  • 我导入Android项目到Eclipse

  • 我运行的项目,我得到的hello world。

但我不知道从哪里开始编程场景,导演,以及如何使用它。

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

我曾尝试本教程但太旧。
我不能使用href=\"http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Chapter_2_-_How_to_Add_a_sprite\" rel=\"nofollow\">官方教程中的

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?

解决方案:

如果您正在这里寻找教程,尝试此链接

If you are here looking for tutorials, try THIS LINK

推荐答案

的cocos2d - 机器人的未更新anymnore。如果你已经在使用的Cocos2D-X跨平台=,你必须知道的是,不同于iOS版,Android版中你CPP直接编程。 Eclipse项目使用的makefile来编译CPP的code,但code是不是$ YOURCOCOS2DPROJECT> Android的路径,那就是Android.mk,编译code中的类中时使用的Eclipse项目,你必须把你的导演,场景和层在那边。

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.

这篇关于我在哪里可以找到一个很好的教程开始使用的Cocos2D-X编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆