Here’re frequently asked questions in the community, link below may re-direct to forum threads, or developers’ blogs.
WARNING: the solutions below may be out of day since the cocos2d-x is always keeping update.
- How to setup Cocos2d-x (Windows and Android) (by Laurence Muller)
- cocos2d-x (iphone-android)/IDE installation and setup under mac os (by Super SuRaccoon)
- How to create an iPhone and Android Cocos2d-x hybrid project (by Clawoo Teh)
- Memory deallocation in Cocos2d-x / About NSAutoreleasePool in cocos2d-x / When should I invoke object~~>release“:http://www.cocos2d-x.org/boards/6/topics/678?r=696 *”How to save data in cocos2d-x game“:http://www.cocos2d-x.org/boards/6/topics/1171 *”A very long story about my optimization of Cocos2d-x Android apps in size and performance“:http://www.cocos2d-x.org/boards/6/topics/1615 (by Strawberry Milkshake) *”Standard Touch Delegate & Targeted Touch Delegate“:http://www.cocos2d-iphone.org/wiki/doku.php/tips:touchdelegates?s=touch&s=delegate *”How to avoid lines between tiles after modify the scale of TileMap“:http://www.cocos2d-x.org/boards/6/topics/2701 *”Some regex to help you converting objc code to cpp code“:http://www.cocos2d-x.org/boards/6/topics/6358 (by hex lee) * [Creating and using Sprite Sheets in Cocos2D-X with Texture Packer] *”How to use the CCListView extension for Cocos2D-X“:http://www.plungeinteractive.com/blog/how-to-use-the-cclistview-extension-for-cocos2d-x/ (by Jesus Bosch) *”How to use CocosBuilder with Cocos2d-x. Simplest use case“:http://www.plungeinteractive.com/blog/simplest-cocosbuilder-and-cocos2d-x-use-case/ (by Xavier Arias) * Relocate_VCProj-SLN Win32/Visual Studio: Relocating a cocos2dx project and solution. (by Pranav Tekchand) h2. Android *”How to add Vibration to android game“:http://www.cocos2d-x.org/boards/6/topics/8179, by Ray To *”How to support android Tab with 1024*600 resolution“:http://www.cocos2d-x.org/boards/6/topics/593 *”How to add chipmupnk into new project“:http://www.cocos2d-x.org/boards/6/topics/586 *”Developing with cocos2-x for android on linux“:http://blog.plicatibu.com/developing-with-cocos2d-x-for-android-on-linux/, by Marcio Andrey Oliveira *”How to debug cocos2d-x and Java code using Eclipse“:http://blog.plicatibu.com/how-to-debug-cocos2d-x-and-java-code-using-eclipse/, by Marcio Andrey Oliveira h2. iOS *”Playing a Video on iPhone/iPad/iPod under Cocos2D-X“:http://www.cocos2d-x.org/boards/6/topics/550?r=8951 *”UIScrollView solution for cocos2d-x“:http://www.cocos2d-x.org/boards/18/topics/1090 *”Implementing in-app purchases on iOS games based on Cocos2d-X – Part 1“:http://www.plungeinteractive.com/blog/implement-iap-in-app-purchases-ios-cocos2d-x/ (by Jesús Bosch) *”Implementing in-app purchases on iOS games based on Cocos2d-X – Part 2“:http://www.plungeinteractive.com/blog/implementing-in-app-purchases-on-ios-games-based-on-cocos2d-x-part-2/ (by Jesús Bosch) *”Make some cash with your Cocos2D-X iOS games with Inner-active ads integration“:http://www.plungeinteractive.com/blog/make-money-with-developing-games-in-ios/ (by Jesús Bosch) *”Adding Localytics in Cocos2d-x game for iOS“:http://www.plungeinteractive.com/blog/adding-localytics-in-cocos2d-x-game-for-ios/ (by Jesús Bosch) *”Internet communications on Cocos2D-X with libCurl“:http://www.plungeinteractive.com/blog/internet-communications-on-cocos2d-x-with-libcurl/ (by Jesús Bosch) *”Objective-C to C*+ callbacks“:http://www.plungeinteractive.com/blog/obj-c-to-cpp-callbacks/ (by Jesús Bosch) *”Using the native Facebook SDK on Cocos2D-X iOS projects“:http://www.plungeinteractive.com/blog/using-the-native-facebook-sdk-on-cocos2d-x-ios-projects/ (by Jesús Bosch) h2. Lua *”Some of my experiences for cocos2d-x* lua“:http://blog.csdn.net/dragoncheng/article/details/6843638 h2. Qt *”Cocos2D-x for Qt“:https://projects.developer.nokia.com/cocos2dxqt *”JumpingGame tutorial“:https://projects.developer.nokia.com/cocos2dxqt/wiki/tutorial h2. Samples & Open Source Games *”TweeJump port updated for cocos2d-x 2.0.4“:http://www.cocos2d-x.org/boards/6/topics/1652, by Francis Styck *”How to use Box2D for just Collision Detection with Cocos2D-X“:http://www.gmtdev.com/blog/2011/08/19/how-to-use-box2d-for-just-collision-detection-with-cocos2d-x/, by Gav T *”How To Make a Catapult Shooting Game with Cocos2D-X and Box2D“:http://www.cocos2d-x.org/boards/6/topics/4391 *”CCBlade has been ported to Cocos2d-x“:http://www.cocos2d-x.org/boards/6/topics/4632, by leo h2. Extensions *”AdvanceSprite“:http://www.cocos2d-x.org/boards/6/topics/1792, by varadharaj. A Subclass of CCSprite to do easier sprite animation. Has advanced controls through methods for controlling FPS, frame range etc. *”AdvanceParticleQuadSystem“:http://www.cocos2d-x.org/boards/6/topics/1802, by varadharaj. A Subclass of CCParticle to do easier texture animation for particles. Has FPS control. *”UIScrollView solution“:http://www.cocos2d-x.org/boards/18/topics/1090, by leo *”HSJoystick“:http://www.cocos2d-x.org/boards/6/topics/2438, by Robert Ryu, control sphere object with simple joystick in box2d *”ExtendedSpriteBatchNode:“:http://www.cocos2d-x.org/boards/6/topics/3565, by Kevin Hawkins, allow a single CCSpriteBatchNode render all sprite nodes at once and maintain proper z-ordering. *”DebugDraw~~ draw lines, points easy, by YuLei Liao
- Using the CCListView extension (by Jesus Bosch)
Integration with Third Party SDK¶
- Integration with Flurry Analytics SDK, by Dmitry Matyukhi
- Using the native Facebook SDK on Cocos2d-x iOS projects, by Jesus Bosch
**** How to upgrade your game from 0.7.1 to 0.7.2