May 312014
 
Secure UITextField with Language Support

UITextField’s Limitation UITextField has a property called secureTextEntry that hides the characters as you type them (except for the last one, which is hidden after a brief moment). This is useful for things like a password field. However, you will notice that the keyboard icon that lets you choose languages is absent. This means that … [READ THE FULL ARTICLE]

 Posted by at 12:16 am
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