O'Reilly logo

iOS Game Programming with Xcode and Cocos2d by Justin Dike

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required