The Completest Cocos2d-x Tutorial & Guide List
Solution 1
Here you got complementaries discussions about the topic, it can be interesting.
Solution 2
Another code example: Tiny Wings Remake on Android using Cocos2d-X
Solution 3
Good list. The Angry Ninjas Starter Kit will have a Cocos2d-X update soon.
Solution 4
Cocos2d-x within uikit tutorial http://jpsarda.tumblr.com/post/24983791554/mixing-cocos2d-x-uikit
Solution 5
https://github.com/dualface/cocos2d-x-extensions/blob/master/TODO.tasks , he is developing nice features on cocos2d-x
vgonisanz
Victor Goñi received his M.S. degree in Telecommunication Engeneering from the Public University of Navarra, Pamplona, Spain, in 2010. He spent an internship course at the Monterrey Institute of Technology and Higher Education, Mexico, during 2009, as a complement of his Engineer degree. He wrote his final Master Thesis at Vicomtech-IK4, San Sebastian, Spain, under the title of "Peripheral Evaluation for Virtual Environment Control", which received an A grade. Since then, he is working in the 3D Animation and Interactive Virtual Environments Department of Vicomtech-IK4 as a research assistant. He has developed a deep interest in science, programming and scientific research, especially in algorithm efficiency, real-time complex calculation and optimization. He is also interested in graphic engines and sensor data filtering and processing for electronic devices. He is specialized in code developement on mobile platforms. Also he is interested in resurrect tiranosaurios rex. My goal to achieve is to be a developer/architect that writes C++ like musicians compose music and songs.
Updated on July 05, 2022Comments
-
vgonisanz almost 2 years
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
- 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
** 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.
-
NIKHIL almost 12 yearsRecommended :raywenderlich.com/11283/…