Creating Games with cocos2d for iPhone 2
暫譯: 使用cocos2d為iPhone 2創建遊戲

Paul Nygard

  • 出版商: Packt Publishing
  • 出版日期: 2012-12-20
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 388
  • 裝訂: Paperback
  • ISBN: 1849519005
  • ISBN-13: 9781849519007
  • 相關分類: 遊戲引擎 Game-engine
  • 海外代購書籍(需單獨結帳)

商品描述

Master cocos2d through building nine complete games for the iPhone

Overview

  • Games are explained in detail, from the design decisions to the code itself.
  • Learn to build a wide variety of game types, from a memory tile game to an endless runner.
  • Use different design approaches to help you explore the cocos2d framework.

In Detail

Cocos2d for iPhone is a simple (but powerful) 2D framework that makes it easy to create games for the iPhone. There are thousands of games in the App Store already using cocos2d. Game development has never been this approachable and easy to get started.

"Creating Games with cocos2d for iPhone 2" takes you through the entire process of designing and building nine complete games for the iPhone, iPod Touch, or iPad using cocos2d 2.0. The projects start simply and gradually increase in complexity, building on the lessons learned in previous chapters. Good design practices are emphasized throughout.

From a simple match game to an endless runner, you will learn how to build a wide variety of game styles.

You will learn how to implement animation, actions, create “artificial randomness”, use the Box2D physics engine, create tile maps, and even use Bluetooth to play between two devices.

"Creating games with cocos2d for iPhone 2" will take your game building skills to the next level.

What you will learn from this book

  • Control sprites with touch, joysticks, and tilt controls.
  • Use sprite sheets, particles, and plists effectively.
  • Learn multiple approaches to solve common challenges.
  • Integrate cocos2d with the Box2D physics engine.
  • Use third-party programs for joystick control, tile maps, and more.
  • Implement Bluetooth to play across multiple devices.
  • Learn game-specific A.I. design methodologies.

Approach

There are nine complete games with increasing complexity built in this book. The process of game building is well-illustrated with screenshots and explained code.

Who this book is written for

This book is aimed at readers with an understanding of Objective-C and some familiarity with the cocos2d for iPhone 2.0 framework.

商品描述(中文翻譯)

掌握 cocos2d,透過建立九款完整的 iPhone 遊戲

概述
- 遊戲的設計決策到程式碼本身都會詳細解釋。
- 學習建立各式各樣的遊戲類型,從記憶拼圖遊戲到無盡跑者。
- 使用不同的設計方法來幫助你探索 cocos2d 框架。

詳細內容
Cocos2d for iPhone 是一個簡單(但強大)的 2D 框架,使得為 iPhone 創建遊戲變得容易。App Store 中已經有數千款遊戲使用 cocos2d。遊戲開發從未如此容易上手。

《使用 cocos2d for iPhone 2 創建遊戲》將帶你經歷設計和建立九款完整遊戲的整個過程,這些遊戲適用於 iPhone、iPod Touch 或 iPad,並使用 cocos2d 2.0。專案從簡單開始,逐漸增加複雜性,並基於前面章節所學的知識進行擴展。整本書強調良好的設計實踐。

從簡單的配對遊戲到無盡跑者,你將學會如何建立各式各樣的遊戲風格。

你將學會如何實現動畫、動作,創建「人工隨機性」,使用 Box2D 物理引擎,創建瓦片地圖,甚至使用藍牙在兩個設備之間進行遊玩。

《使用 cocos2d for iPhone 2 創建遊戲》將提升你的遊戲建設技能到一個新的水平。

你將從這本書中學到的內容
- 使用觸控、搖桿和傾斜控制來控制精靈。
- 有效使用精靈圖集、粒子和 plist。
- 學習多種方法來解決常見挑戰。
- 將 cocos2d 與 Box2D 物理引擎整合。
- 使用第三方程式進行搖桿控制、瓦片地圖等。
- 實現藍牙以在多個設備之間進行遊玩。
- 學習遊戲特定的人工智慧設計方法。

方法
本書中建立了九款複雜性逐漸增加的完整遊戲。遊戲建設的過程透過截圖和解釋的程式碼得到了很好的說明。

本書的讀者對象
本書適合對 Objective-C 有一定了解並對 cocos2d for iPhone 2.0 框架有些熟悉的讀者。