最完整的 Cocos2d-x 教程 &指南列表 [英] The Completest Cocos2d-x Tutorial & Guide List

查看:28
本文介绍了最完整的 Cocos2d-x 教程 &指南列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Cocos2d-x 为 Android 和 iPhone 开发游戏.一开始,我在开始使用这个库时遇到了很多问题,所以,在这个问题中,我想收集所有基础、中等和专家教程,因为有很多信息问题都犯了同样的错误.当我开始,我不得不使用我的朋友谷歌在许多网站上查看很多.希望这可以帮助人们现在开始.全部在 C++ 中.

初学者

中等

高级

  • 将 OpenFeint 与 cocos2d-x 集成.我只找到了这个例子此处了解更多详情.
  • GameCenter 上的存档.这里

扩展

代码示例

提示

<前>#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)this->setObjectScale(1);#endif//CC_PLATFORM_IOS

  • 您的第一个示例必须是 WIKI

** COCOS2D-X 官方页面 **

什么需要这个问题?

  • XML 教程,我在这方面一无所知.实际上,我正在处理一些代码.我会做一个教程.可以使用的库是 libxml2
  • 创建菜单示例
  • 滑块菜单示例
  • 手势类尚未实现

如果你有问题,在 Stackoverflow 中使用标签 Cocos2d-x,我会尽力帮助你.

我已经阅读了FAQ,但是与 cocos2d/android 相关的 90% 的问题都存在同样的问题,使用过时的库.我只是想帮助人们开始使用 cocos2d-x.欢迎提供所有其他信息.

解决方案

这里有关于该主题的补充讨论,可能很有趣.

讨论1

讨论2

I'm developing a game using Cocos2d-x to Android and iPhone. At the beggining, I had a lot of problems to start using this library, so, in this question, I want to collect all basic, medium and expert tutorials because there are a lot of info questions doing the same mistakes. When I Started, I had to look a lot in many sites using my friend Google. Hope this helps people start now. All in c++.

Beginners

  • Official wiki links
  • How to start in multi-platform HERE The best one. Amazing, XCODE (MAC) and ECLIPSE (LINUX) tutorial.
  • A simple guide to Start
  • Another multi-platform Guide
  • Awesome guide to start programming on Eclipse + Android and DEBUG, thanks to Marcio Andrey
  • Another way to integrate cocos2d-x on Android
  • Social Example, Facebook + email + Twitter on iOS and Android HERE

Medium

ADVANCED

  • Integrating OpenFeint with cocos2d-x. I only found This example, Here more details.
  • Archievement on GameCenter. Here

Extensions

Code Examples

TIPS

  • Audio format Supported
  • If you use Linux, please, don't use cocos2d-android or cocos2d-android-1, is decreated. Try to use cocos2d-x

  • If you use Linux, and don't know how to use native code, Take a look in development

  • CCLOG("String"); Don't work on Eclipse log cat, but CCLog do it!

  • Max textures size/resolution Here

  • Iphone use RETINA to draw textures in HD, but don't are used on Android. My solution is use RETINA on iphone, and setscale compiling only in Android. Multi-resolution Wiki. In Example:

    #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
    this->setObjectScale(1);
    #endif  // CC_PLATFORM_IOS

  • Your first example must be the official on the WIKI

** OFFICIAL PAGE COCOS2D-X **

What will need this question?

  • XML Tutorial, i have nothing in this area. Actually, i'm working in some code. I will do a Tutorial. The library can be use is libxml2
  • Creating menus example
  • Slider menu example
  • Gestures class don´t implemented yet

If you have problems, use tag Cocos2d-x in Stackoverflow, and I will try to help you.

I have already read the FAQ but 90 % of questions cocos2d/android related present the same problem, using obsolete libraries. I just want help people to start using cocos2d-x. All additional info will be Welcome.

解决方案

Here you got complementaries discussions about the topic, it can be interesting.

discussion1

discussion2

这篇关于最完整的 Cocos2d-x 教程 &amp;指南列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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