Musings of amateur game development

Menu

You will need for this guide: The Cocos2D-x 2.2.3 code Android SDK Android NDK Eclipse with Android Development Tools XCode Creating the project First, let’s create a new project using the Cocos2D-x wizard. Download the Cocos code, unzip it somewhere…

Cocos2D-x has some support for multiple languages, but unfortunately I am not really convinced by it. So I figured why not use a proven, semi-standard technology like gettext to handle this? Gettext works by parsing .mo files which are compiled…

Getting a nice working card flipping effect has been more difficult than I expected. Here’s the basic description of the process that can be used to obtain a card flip effect: Animate the card sprite for half the rotation. Swap…

Cocos2d-x is a multiplatform game framework. It is a reimplementation of Cocos2D for iPhone in C++. The main idea about it is that you are going to write plain old C++ code and that code will run on both Android…

One more Ray Wenderlich tutorial ported over to Cocos2D-x. The Breakout tutorial has always been very dear to me – it was the first tutorial that showed me how simple but powerful Box2D can be. If you are following the…

A new tutorial has been ported over to Cocos2D-x for you folks! I stumbled upon an Asteroids game tutorial from Ganbaru Games from December 2010. Asteroids game clones have always served as excellent teaching guides for aspiring web developers. You…

Although this was briefly covered in , I feel that CCMutableArray warrants its own article, much like CCMutableDictionary which will be addressed a bit later. Declaring a CCMutableArray NSArrays and NSMutableArrays were a breeze to use, you could store almost…

Thanks to some really hard work from Gustavo Ambrozio from raywenderlich.com we now have a new tutorial to explore the intriguing world of Box2D and Cocos2D. In the first part of his How To Make a Catapult Shooting Game with…

In Objective C calling a selector after a given delay is a piece of cake as this is built in NSObject. Everyone who has touched the iPhone SDK has one time or another come across the following code: [self performSelector:@selector(doSomething)…