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