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 5

Collisions, Touches, and Gestures

 

 

 

We've all heard this cliched quote before, “You're on a need to know basis … and you don't need to know.” That's true with programming. Don't think that you need to know everything, or use everything you've learned to create your first game. Coding is more of a learn-as-you-go, take-only-what- you need process than you can probably imagine.

So over the next few chapters, I want to give you some excellent self-contained examples that you can easily work into any project as you need them. As I said before, don't try to memorize code, just know where to look for them. One day, I'll be doing the same thing as you, searching this exact section for code I kind of remember writing before.

Section ...

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