Cocos2d for Iphone 1 Game Development Cookbook (英語) ペーパーバック – 2011/12/30
Kindle 端末は必要ありません。無料 Kindle アプリのいずれかをダウンロードすると、スマートフォン、タブレットPCで Kindle 本をお読みいただけます。
This book is full of fun and engaging recipes with modular libraries that can be plugged into your project. Each recipe consists of explained code accompanied by screenshots for your understanding. If you want to elevate your basic Cocos2d project to the next level, this is the book for you. Some understanding of Objective-C and Cocos2d is recommended. People with some programming experience may also find this book useful.
Nathan Burba is a game developer, student, producer, and entrepreneur. He graduated from Ithaca College with a BA in Computer Science in 2008 and began working toward an MFA in Interactive Media at the University of Southern California School of Cinematic Arts in 2011. He founded Logical Extreme Studios LLC in 2011 and plans to release his first iOS game, Golden Age Baseball, in early 2012.
I have bought many of the other books on this subject. I have to congratulate that this is the only book out there, out of the many I have tried, where all the examples actually built and worked on the simulator and on the phone without a glitch. All of them. All the other books you are lucky if the examples build without many errors, then if they do they don't display on the simulator or phone. I consider them tax write offs. You really want the examples to work because you can't copy and paste code correctly from ebooks and retyping every last letter is really to no benefit unless you are also learning to type at the same time.
The authoring is right to point and by example. It is a combination of many small examples of how to's.
For example, one of the many things on my bucket list was to be able to drag objects around smoothly using physics and a mouse joint.
That is one of the many small examples in the book. And it actually worked professionally right out of the box.
I have also gone through many Googled up internet examples and most of them are partial, don't work and/or are outdated. Or they were surrounded with too much code not relevant to want you where searching for, hence making it very hard to learn by example.
Having been in the Cocos2d forums for over 2 years, I know that most of these samples touch base with complex topics that *will* be of value to almost every cocos2d developer.
Here's link to video overviews of each chapter on YouTube. In short - GET THIS BOOK!
Cocos2d for iPhone 1 Game Development Cookbook
Chapter 1 - Graphics
Chapter 1 - User Input
Chapter 3 - Files and Data
Chapter 4 - Physics
Chapter 5 - Scenes and Menus
Chapter 6 - Audio
Chapter 7 - AI and Logic
Chapter 8 - Tips and Tricks
Chapter 9 - Ads, Networking and Social (Extra via email)
Note: at first I tried the download the sample code from [...] but the website was down at the time and so i ended up emailing the writer with a copy of my receipt to request the code. Not only did he give me the code, but he also gave me an extra chapter of reading material, and gave other helpful tips too. AWESOME writer + content. If for some reason packtpub.com is down, just email the author directly. it'll save you a lot of frustration.
A must buy for any cocos2d developer who is looking for learning more techniques or polishing existing ones.
If you're developing games using cocos2d then you definitely need this book. It covers just about everything you need and it is definitely going to save you a lot of time. The best part of the book is the AI and Logic chapter with the A* path finding recipes.
Even if you're going to develop with cocos2d-x instead of cocos2d-iphone, you can easily translate the Obj-C parts of the code to C++, and some of the code is already in C++ (i.e. Box2D and OpenGL calls).
The only thing I feel is missing from this book is recipes on 2D Skeletal Animation. I would really love to see an example of a animating 2D skeletal body which can be easily turned into a Box2D rag doll. There is a lot of information on 3D skeletal animation, but not so much for 2D.