Chapter 10

Extending Cocos2d

 

 

 

In this chapter, I'll give you some code to extend Cocos2d to the Outer Reaches of the Universe … Meaning, things like Twitter, Facebook, In-App purchases, streaming video, and more.

It's easy to bask in the little walled garden of Cocos2d because there's A LOT of code there to explore, but these iOS devices can do quite a lot. So in this chapter we will bridge the gap between Cocos2d and the true power of your shiny iPhone or iPad!

Don't worry, it's not THAT much more code.

image

Section 1

Connecting to Twitter or Facebook (iOS 6 or Higher)

When iOS 6 was released, connecting your app to Facebook or Twitter ...

Get iOS Game Programming with Xcode and Cocos2d now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.