Programming Books C Java PHP Python Learn more Browse Programming Books
Cocos2d for iPhone 1 Game Development Cookbook and over one million other books are available for Amazon Kindle. Learn more

Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 


or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $3.75 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading Cocos2d for iPhone 1 Game Development Cookbook on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Cocos2d for iPhone 1 Game Development Cookbook [Paperback]

by Nathan Burba
4.7 out of 5 stars  See all reviews (41 customer reviews)

Buy New
$47.49 & FREE Shipping. Details
Rent
$12.78
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
In Stock.
Rented by RentU and Fulfilled by Amazon.
Want it tomorrow, April 25? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $18.49  
Paperback $47.49  
Sell Us Your Books
Get up to 80% back when you sell us your books, even if you didn't buy them at Amazon. Learn more

Book Description

December 15, 2011 1849514003 978-1849514002
Over 100 recipes for iOS 2D game development using Cocos2d for iPhone.
  • Discover advanced Cocos2d, OpenGL ES, and iOS techniques spanning all areas of the game development process
  • Learn how to create top-down isometric games, side-scrolling platformers, and games with realistic lighting
  • Full of fun and engaging recipes with modular libraries that can be plugged into your project
In Detail

Cocos2d for iPhone is a robust but simple-to-use 2D game framework for iPhone. It is easy to use, fast, flexible, free, and App Store approved. More than 2500 App Store games already use it, including many best-seller games. Do you want to take your cocos2d game development skills to the next level and become more professional in cocos2d game design?

Cocos2d for iPhone 1 Game Development Cookbook will help you reach that next level. You will find over 100 recipes here that explain everything from the drawing of a single sprite to AI pathfinding and advanced networking. Full working examples are emphasized.

Starting with the first chapter, Graphics, you will be taken through every major topic of game development. You will find both simple and complex recipes in the book.

Each recipe is either a solution to a common problem (playing video files, accelerometer steering) or a cool advanced technique (3D rendering, textured polygons).

This cookbook will have you creating professional quality iOS games quickly with its breadth of working example code.

What you will learn from this book
  • Render, manipulate, animate, and optimize Cocos2d sprites, primitives and particles
  • Learn advanced graphical techniques including 2D lighting, rendering textured polygons, and drawing 3D primitive shapes
  • Use third party libraries for data, networking, and more
  • Gain a deep understanding of the Box2D physics engine
  • Create multiplayer networked games and games with intelligent AI actors
  • Learn tips, tricks, and best practices used by professional game developers
Approach

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.

Who this book is written for

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.

Frequently Bought Together

Cocos2d for iPhone 1 Game Development Cookbook + Learning Cocos2D: A Hands-On Guide to Building iOS Games with Cocos2D, Box2D, and Chipmunk + Beginning iOS Game Development
Price for all three: $97.92

Buy the selected items together


Editorial Reviews

Review

"One word: Essential. There are so many questions answered in this book that I have had floating around in my head, the time savings already dramatically outweighs the small cost of the book. I'd also say it is very appropriate for all proficiency levels Beginner to Advanced."
-Kyle Newsome, BitWit Games, creator of Pixel Fighters


"In a few pages, you'd already given me about a dozen approaches I want to start playing with. I really enjoy your clear, minimalist style. You don't need ten pages to explain an idea when a paragraph will do. Perfect! This is definitely on my list of 'must have' cocos2D books."
-Paul Nygard, Troll Cave Games, creator of Letter Mole


"Definitely a must for every cocos2d developer."
-Anton Gregorn, RenderPlace (renderplace.com), creator of Draw and Show


"It's a fascinating tour through the hidden nooks of cocos2d, OpenGL and the iOS SDK."
-Tim Knauf, Launching Pad Games, creator of Zoo Lasso


"This is a great book and saves loads of digging around in the forum for things I suspect/know are there but not tagged."
-Chris Wilson, creator of Super Turbo Action Pig (abitofcode.com)

From the Author

Over one year in the making; This book includes the full code of over 100 recipes built using XCode 4 and iOS 5.
This is designed to be the ultimate 2D game development book. Every major area of game development is covered.

Product Details

  • Paperback: 446 pages
  • Publisher: Packt Publishing (December 15, 2011)
  • Language: English
  • ISBN-10: 1849514003
  • ISBN-13: 978-1849514002
  • Product Dimensions: 9.2 x 7.5 x 0.9 inches
  • Shipping Weight: 1.7 pounds (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (41 customer reviews)
  • Amazon Best Sellers Rank: #1,120,101 in Books (See Top 100 in Books)

More About the Author

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

Customer Reviews

Most Helpful Customer Reviews
5 of 5 people found the following review helpful
5.0 out of 5 stars Samples alone are worth every dime! January 6, 2012
Format:Kindle Edition|Verified Purchase
There's tons of samples in this book that cover a diverse set of topics in Cocos2d.

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)
[...]
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
5.0 out of 5 stars Immediately Useful! January 28, 2012
Format:Kindle Edition|Verified Purchase
If you are a Cocos2D developer this book will save you some serious time. I was immediately able to make use of the platformer A Star algorithm in a project I am currently working on. I recommend it.
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
4.0 out of 5 stars A great cookbook March 12, 2012
Format:Paperback
This book is filled with code examples on how to do various things with Cocos2d. There are lots of different things covered and the author has a project available to see everything in action. The time you save makes it well worth the cost.

I admit the explanations are a little on the short side, but this is a cookbook after all, so I can't fault it for that. On the other hand, you should be prepared for that if you intend to purchase it.

If you are new to Cocos2d, you're better off with "Learning Cocos2d" by Wenderlich as it`s meant for beginners to Cocos2d.
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars Buy it now. No, seriously. Buy it now. January 31, 2012
Format:Paperback
We absolutely guarantee that just about anyone will find the book worth way more than its price in time saved. To see for yourself, head over to the book's website -- [...] -- and check out the Explore The Book section for videos and explanations of the recipes in each ... and download the demo apps. Yep, the demo apps, there's free demo apps up on the store for you to check out the recipes in action: check them out at [...] and see for yourself how to *really* support a book!

Also check out the book's thread on the cocos2d-iphone forums for some subtle understated commentary like
* "This book looks like it is going to be a requirement in every developer's library!"
* "Ok, I have read a handful of recipes and I am completely sold. This is an awesome book."
* "...every developer needs to have this book."
* "this book is an absolute must for anyone developing cocos2d apps."
* "Great book, instant buy!"

Gee, gushing much? But it actually does deserve all that and more. Let us take the very first recipe, "Drawing sprites". Oh for crying out loud, you think, how does that merit a recipe? Is this thing going to be full of fluff I already know? Well, no actually, that simple sounding recipe goes over drawing from files, images, textures, and frames; explains mipmapping and batch nodes; and tops it off with colorizing rectangles. Well, that is pretty good for a first recipe, isn't it now.

The first graphics chapter goes on to cover not only common drawing and animating but movie playing, particle effects, simple 3D effects, texture animation, palette swapping, screenshots, parallax, and lighting. Pretty much a worthwhile purchase already, and we're barely started!
Read more ›
Comment | 
Was this review helpful to you?
4 of 5 people found the following review helpful
3.0 out of 5 stars Great examples, not so great instruction March 11, 2012
Format:Paperback|Verified Purchase
With this "book" purchase, you are basically paying for example code that you more or less need to sift through in order to figure out what is going on. The book itself offers very little instruction or learning beyond that of "here's something neat you can do in cocos and here's the code (you already have because it came with the book), but printed out (which itself is not very readable in the e-version)" I found the "why" or "how" it works to be fairly lacking. That, combined with the fact that the code is difficult to read in the e-version makes the book itself also of limited utility. Ultimately, you are paying for the code that accompanies the book. As for understanding the concepts, it's back to scrubbing various online forums yet again.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Great reference April 21, 2012
By Ryukami
Format:Paperback
This book is a wonderful addition to any IOS Game Developers library, it contains many useful recipes (my favourite one being in the extra chapter you email the author to get - real time multiplayer!).

The book is well written, the code is explained in a nice straightforward manner and is of a high quality. The writing style isn't boring or overly 'waffley'. This book now has a permanent position in my library, and I can see myself referring to it many times for the foreseeable future. You won't be disappointed with your purchase.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
4.0 out of 5 stars iDevGames Review - Good overall. March 2, 2012
Format:Paperback
Full review at:
[...]
Cocos2d for iPhone 1 Game Development Cookbook Review
iDevGames.com / Alex Sikora -- Mar 02, 2012

Overview
-----------

I have yet another Cocos2d book to review! Probably one of the (if not the most) popular 2d game engines for iOS development. Cocos2d is a free engine anyone can use to make 2d games. This book was not designed for those new to development, or those new to development on the iPhone. It assumes a bit of experience with Objective-C and Cocoa, and some minor familiarity with the Xcode IDE. It is a cookbook style (as the title states) introduction to using Cocos2d in your future iOS games. You can download the source code found in the book on the publisher's website.

The Good
-----------

Coverage
This book covers everything you need to know to use Cocos2d in your games. It starts off right away with drawing sprites to the screen, perhaps the most important of recipes in the book. It also covers how to take user input in a variety of fashions, from on-screen d-pads and "analog" sticks, to accelerometer controls.

Good Recipes
The recipes in this book are well written and structured, easy to understand. The recipes follow a simple format of explaining what they are going to do, usually with some screenshot to illustrate their point. This is followed by the source code to implement it. The code is commented and step-by-step descriptions follow the code describing what new methods and classes do. Methods and their parameters are clearly explained, as well as value ranges and typical choices.

Extra Content
These recipes also extend past just Cocos2d features. The chapters "Physics" and "AI and Logic" cover topics that are useful to any game developer.
Read more ›
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
1.0 out of 5 stars Terrible book
Terrible book, poorly written, poorly printed, not organized at all, a lot of snippets thrown on the pages without a structure. One of the worst buy I've ever made.
Published 2 months ago by CORALLO DANILO
5.0 out of 5 stars Cocos2dCookbook
Cocos2d for iPhone 1 Game Development Cookbook

100 % cocos2d , games AI GOODNESS!!!
Indeed this book answered most of my questions when I decided to build my game... Read more
Published 15 months ago by nevsi
5.0 out of 5 stars Great!!!!!
This book is perfect to study new resources about cocos2d.
You can see your exemplas an APPStore before. Just search the name in the store.
Published 18 months ago by Eder
5.0 out of 5 stars Awesome Examples!
This book is great! It comes with a ton of great examples and covers a very great breadth of how to use Cocos2d. Read more
Published 18 months ago by iOS noob
5.0 out of 5 stars Cocos2d for iPhone Game Development Cookbook
This book is excellent. It's probably not the first book you want to read when starting out with cocos. Read more
Published 19 months ago by Edward Hooban
5.0 out of 5 stars Simple but really enhancing. Must have for any cocos2d ios deveoper.
This book covers techniques that go beyond the basics in cocos2d programming. If you find that often you can't achieve something you would like or it gets alot of investigation and... Read more
Published 23 months ago by Juan Ignacio Tarallo Belhot
5.0 out of 5 stars Definitely the best cookbook I've ever read
One thing I always love about cookbooks is how the book is mostly filled with code, because a lot of us learn best by looking at code examples rather than reading through long... Read more
Published 23 months ago by Rohin Knight
4.0 out of 5 stars many examples of methods
It would certainly help if you already have started coding in Cocos2d within the Apple iOS environment. Burba does not waste space on how to install it. Read more
Published on April 12, 2012 by W Boudville
5.0 out of 5 stars Brilliant !
This book is an absolute must-have for anyone wanting to get cracking with iOS games. It's in the perfect sweet-spot of instantly workable sample code (an absolute bargain alone... Read more
Published on March 18, 2012 by TheFisherman
5.0 out of 5 stars A good informative book
I really liked the book. It is helping me to understand many functionalities wrt cocos2D. Thanks for helping us out.
Published on March 15, 2012 by Shruthi
Search Customer Reviews
Only search this product's reviews
ARRAY(0xa249c778)

What Other Items Do Customers Buy After Viewing This Item?


Forums

Search Customer Discussions
Search all Amazon discussions

Start a new discussion
Topic:
First post:
Prompts for sign-in
 




Look for Similar Items by Category