最完整的Cocos2d-x教程&指南清单 [英] The Completest Cocos2d-x Tutorial & Guide List
问题描述
我正在使用Cocos2d-x开发一款适用于Android和iPhone的游戏。在开始使用时,我开始使用这个库时遇到了很多问题,因此,在这个问题中,我想收集所有的基础,中级和专家教程,因为有很多信息问题都在犯同样的错误。当我开始时,我不得不在很多网站上使用我的朋友谷歌看了很多。希望这有助于人们现在开始。 全部使用c ++ 。
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++.
初学者
- 官方维基链接
- 如何从多平台开始 HERE 最好的一个。惊人的,XCODE(MAC)和ECLIPSE(LINUX)教程。
- 开始
- 另一个多平台指南
- 开始编程的很棒的指南 Eclipse + Android 和 DEBUG ,感谢 Marcio Andrey
- 另一个方式在Android上集成cocos2d-x
- 社交示例,Facebook +电子邮件iOS和Android上的Twitter + HERE
- 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
中等
- 滚动场景。使用CCParallaxNode。 太空游戏示例
- InfiniteParadax Class 此处,始终重复相同的背景。
- 滑块代码 此处视频。
- 使用2层分割屏幕这里
- Sharped Label TTF,更好的标签
- Scrolling scenes. Using CCParallaxNode. Space game example
- InfiniteParadax Class Here, to repeat same backgrounds all time.
- Slider code HERE the video.
- Split screen using 2 layers Here
- Sharped Label TTF, Better labels
高级
- Integrating OpenFeint with cocos2d-x. I only found This example, Here more details.
- Archievement on GameCenter. Here
扩展程序
- 我没有全部测试过,但工作正常< a href =https://github.com/cocos2d/cocos2d-x-extensions\"rel =nofollow noreferrer> walzer的扩展程序
- MarkusPfundstein 的扩展名
- DualFace 扩展,实际上在开发中
- I have not tested all, but work fine walzer's Extensions
- MarkusPfundstein's extensions
- DualFace extensions, actually in development
代码示例
- Clawoo示例
- 简单游戏1
- 简单游戏1 - 第3部分
- BreakOut
- Pong
- 可爱的pult
- 基于TileBased的游戏
- 小行星
- Bada.com
- Ballon Ride
- 演示和链接收藏
- supersuraccoon-cocos2d演示(并非所有C ++)
- supersuraccoon-cocos2d links collection
- 另一个代码示例:使用Cocos2d-X在Android上轻微重翼
- Clawoo examples
- Simple Game 1
- Simple Game 1 - part 2
- Simple Game 1 - part 3
- BreakOut
- Pong
- Cute a pult
- TileBased game
- Asteroids
- Bada.com
- Ballon Ride
- Demo and links collection
- supersuraccoon-cocos2d demos (Not all C++)
- supersuraccoon-cocos2d links collection
- Another code example: Tiny Wings Remake on Android using Cocos2d-X
提示
- 音频格式支持
-
如果您使用Linux,请不要使用cocos2d-android或cocos2d-android-1,减少。尝试使用cocos2d-x
- Audio format Supported
If you use Linux, please, don't use cocos2d-android or cocos2d-android-1, is decreated. Try to use cocos2d-x
如果您使用Linux,并且不知道如何使用本机代码,查看开发
If you use Linux, and don't know how to use native code, Take a look in development
CCLOG(串);不要在Eclipse log cat上工作,但CCLog会这样做!
CCLOG("String"); Don't work on Eclipse log cat, but CCLog do it!
最大纹理尺寸/分辨率这里
Max textures size/resolution Here
Iphone使用RETINA来以高清格式绘制纹理,但不在Android上使用。我的解决方案是在iphone上使用RETINA,并且仅在Android中进行setcale编译。 多分辨率Wiki 。例如:
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
- 你的第一个例子必须是 WIKI
- Your first example must be the official on the WIKI
- XML教程,我在这个领域什么都没有。实际上,我正在使用一些代码。我会做一个教程。该库可以使用 libxml2
- 创建菜单示例
- 滑块菜单示例
- 手势类尚未实现
- 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
** 官方网页COCOS2D-X **
这个问题需要什么?
如果您遇到问题,请在Stackoverflow中使用标签Cocos2d-x,我会尽力帮助您。
If you have problems, use tag Cocos2d-x in Stackoverflow, and I will try to help you.
我已经阅读了常见问题解答但是90%的cocos2d / android相关问题都存在同样的问题,使用过时的库。我只是想帮助人们开始使用cocos2d-x。所有其他信息都将是欢迎。
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.
这篇关于最完整的Cocos2d-x教程&指南清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!