Полный список руководств и руководств по Cocos2d-x [закрыт]

Я разрабатываю игру с использованием Cocos2d-x для Android и iPhone. В начале у меня было много проблем, чтобы начать использовать эту библиотеку, поэтому в этом вопросе я хочу собрать все базовые, средние и экспертные руководства, потому что есть много информационных вопросов, делающих те же ошибки. Когда яНачалосьМне приходилось много смотреть на многих сайтах, используя моего друга Google. Надеюсь, что это помогает людям начать сейчас.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

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

ADVANCED

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

Extensions

I have not tested all, but work fine walzer's Extensions MarkusPfundstein's extensions DualFace extensions, actually in development

Code Examples

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

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

** ОФИЦИАЛЬНАЯ СТРАНИЦА COCOS2D-X **

Для чего нужен этот вопрос?

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, и я постараюсь вам помочь.

Я уже прочиталЧасто задаваемые вопросы но 90% вопросов, связанных с cocos2d / android, представляют ту же проблему, используя устаревшие библиотеки. Я просто хочу помочь людям начать использовать cocos2d-x. Вся дополнительная информация будет приветствоваться.

Ответы на вопрос(6)

Ваш ответ на вопрос