我在用Cocos2d-x对Android和iPhone开发一个游戏。在乞讨时,我有很多问题要开始使用这个图书馆,所以,在这个问题上,我想收集所有基础、中级和专家辅导课程,因为有许多信息问题做同样的错误。当我
< begners begners > (强)
- 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
<强 > 中度 强 >
- 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
<强 > 扩展 强 >
- I have not tested all, but work fine walzer s Extensions
- MarkusPfundstein s extensions
- DualFace extensions, actually in development
<强度 > 守则示例 强度>
- 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
< 强 > TIPS 强 >
- Audio format Supported
如果您使用 Linux, 请不要使用 cocos2d- roid 或cocos2d- roid-1,
is decreated strong> 。 请尝试使用 cococ2d- x 如果您使用Linux, 且不知道如何使用本地代码, 查看开发
CCLOG (“ String ”) ; 不要对日志小猫工作, 但是 CCLOG 做!
Iphone 使用 RETINA 绘制HD 的质地, 但是不用于Android 。 我的解决方案是在iphone 上使用 RETINA, 并且只在Android 中使用设置级汇编 。 multi- 分辨率Wiki 。 例如:
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) this->setObjectScale(1); #endif // CC_PLATFORM_IOS
- Your first example must be the official on the WIKI