Apr 032012
 

Max Texture Size of iOS Devices When loading OpenGL textures (or sprites, sprite sheets in Cocos2d), the max size for 1024 x 1024 2048 x 2048 4096 x 4096 iPhone 2giPhone 3g iPhone 3gsiPhone 4iPad iPhone 4siPad 2iPad 3                   Get Shareaholic

 Posted by at 4:50 pm
Apr 012012
 
Soft Body Physics With Box2d (and Cocos2d) Part 4/4

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]

 Posted by at 12:35 pm
Mar 312012
 
Soft Body Physics With Box2d (and Cocos2d) Part 3/4

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]

 Posted by at 11:59 am
Mar 312012
 

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]

 Posted by at 7:50 am
Mar 232012
 
Quick Tip: Mixing OpenGL and Cocos2d (Triangle Fan)

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]

 Posted by at 3:27 pm