Here is how to symbolicate iOS crash reports. Make sure the .app or .ipa and the .dSYM files are the same ones created at the time of the compilation. Step 1 If you have an .app file Place the .app file and the .dSYM file into a folder. If you have an .ipa file Rename … [READ THE FULL ARTICLE]

Prerequisites This is the final part to a four part series about simulating a soft body physics in Box2d. Before continuing, you should read and understand the following tutorials. 1. Quick Tip: Mixing OpenGL and Cocos2d (Triangle Fan) 2. Soft Body Physics with Box2d and Cocos2d Part 1/4 3. Soft Body Physics with Box2d and … [READ THE FULL ARTICLE]

Prerequisites This is the third part to a four part series about simulating a soft body physics in Box2d. Before continuing, you should read and understand the following tutorials. 1. Quick Tip: Mixing OpenGL and Cocos2d (Triangle Fan) 2. Soft Body Physics with Box2d and Cocos2d Part 1/4 3. Soft Body Physics with Box2d and … [READ THE FULL ARTICLE]
Prerequisites This is the second part to a four part series about simulating a soft body physics in Box2d. Before continuing, you should read and understand the following two tutorials. 1. Quick Tip: Mixing OpenGL and Cocos2d (Triangle Fan) 2. Soft Body Physics with Box2d and Cocos2d Part 1/4 We will be using OpenGL to … [READ THE FULL ARTICLE]

Rigid Body and Soft Body Physics This is the first of a 4 part series which will show you how to simulate a simple soft body physics object in Box2d. We will be attempting to draw a fully texture mapped, squishy object. In part 1, I will be constructing the physics object. Box2d is a … [READ THE FULL ARTICLE]

Cocos2d and OpenGL Cocos2d hides most of the complexities of OpenGL, but every now and then you will be forced to write some custom OpenGL code. You can override the draw method of CCNode to perform your custom OpenGL drawing. You don’t have to write the code for scaling, rotating or translating inside the draw … [READ THE FULL ARTICLE]
Tip: Quick tip to swap out the image of a sprite that has already been initialized with an image. CCSprite *sprite = [CCSprite spriteWithSpriteFrameName@"oldImage.png"]; [sprite setDisplayFrame:[[CCSpriteFrameCache sharedSpriteFrameCache] spriteFrameByName:@"newImage.png"]];
Hello everyone! A few months have passed since I posted Simple Platformer Using Cocos2d and Box2d with Collision Detection. I have received many positive feedbacks and interest on the tutorial. I am glad that it has been helpful for so many in the community! Also, I would like to share the good news that the … [READ THE FULL ARTICLE]
I received a few requests for a simple Mario-like platformer tutorial. So I am keeping my promise. The sample is far from a full fledged Mario clone, but I hope it it can at least start you off in the right direction. This tutorial builds upon concepts covered in “Beginning Box2d Physics Engine” and “Side … [READ THE FULL ARTICLE]
Life has once again conspired to keep me away from updating the blog as frequently as I promised. I meant to write a simple platformer tutorial, but I had an interview with Google that seriously threw a monkey wrench into my plans. So I am just catching up on the backlog of tasks I need … [READ THE FULL ARTICLE]