Get Updates By E-mail 

Article Written By:
Johann Dowa

Examples: How To Integrate Cocos2D-X With The iOS SDK’s UIKit

  •  
  •  
  •  
  •  
  •  

I’ve mentioned UIKit integration with Cocos2D iPhone which has become considerably more convenient with Cocos2D iPhone v2.

Integration of Cocos2D-X (the cross platform C++ version of Cocos2D) is somewhat more complicated, but I’ve come across a set of examples demonstrating both how to use Cocos2D-X within UIKit, and another demonstrating how to use UIKit within Cocos2D-X.

Here’s a video showing the Cocos2D-X within UIKit example:

You can read more about about the techniques used and download this example from JP Sarda on his blog here.

The second example is from Di Wu and here’s a video showing the results of the example demonstrating UIKit running within Cocos2D-X:

You can download this example on Github here.

Good examples if you’re working with Cocos2D-X.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments