Learning iPhone Game Development with Cocos2D 3.0
暫譯: 使用 Cocos2D 3.0 學習 iPhone 遊戲開發

Kirill Muzykov

  • 出版商: Packt Publishing
  • 出版日期: 2014-06-14
  • 售價: $1,830
  • 貴賓價: 9.5$1,739
  • 語言: 英文
  • 頁數: 512
  • 裝訂: Paperback
  • ISBN: 1782160140
  • ISBN-13: 9781782160144
  • 相關分類: 遊戲引擎 Game-engine
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Harness the power of Cocos2D to create your own stunning and engaging games for iOS

Overview

  • Find practical solutions to many real-world game development problems
  • Create games from start to finish by writing code and following detailed step-by-step instructions
  • Full of illustrations and diagrams, practical examples, and tips for deeper understanding of game development in Cocos2D for iPhone

In Detail

Cocos2D-iPhone (Cocos2D-Swift) is a robust yet simple-touse 2D game framework for iPhone. If you are just starting with game programming, Cocos2D will enable you to make your first game in no time. Even if you are a seasoned game developer, you will still be able to benefit from what Cocos2D offers.

This book will set you on the fast-track to game development with Cocos2D for iPhone. You will start by reviewing the basic classes and hierarchy, dive deep into animations and game flow, and finish by creating a complete game with UI using some advanced techniques.

You will begin the book with an empty Cocos2D project and build on it until you end up with a complete game. The book will teach you how to work on game logic, handling user input, controlling the character, and playing audio. Later, in the final part of the book, we'll have a working game on our hands, and we'll see how we can improve the game further

What you will learn from this book

  • Install Cocos2D and create projects using Cocos2D Xcode templates
  • Understand the Cocos2D architecture and its main classes
  • Render images and text, move and animate them
  • Control your game using touches and a gyroscope
  • Create a user interface and navigate between game screens
  • Use the physics engine to apply forces and detect collisions
  • Add sounds and music and change playback properties
  • Integrate your game with Game Center and make In-App purchases

Approach

This book is an easy-to-follow, step-by-step beginner's guide covering the full process of creating a game. It is packed with examples and illustrations, with comprehensive coverage of each topic.

商品描述(中文翻譯)

利用 Cocos2D 的強大功能,為 iOS 創建您自己的驚人且引人入勝的遊戲

概述
- 找到許多現實世界遊戲開發問題的實用解決方案
- 通過編寫代碼和遵循詳細的逐步指導,從頭到尾創建遊戲
- 充滿插圖和圖表、實用範例,以及深入理解 Cocos2D 在 iPhone 上的遊戲開發的提示

詳細內容
Cocos2D-iPhone (Cocos2D-Swift) 是一個強大且易於使用的 2D 遊戲框架,專為 iPhone 設計。如果您剛開始接觸遊戲編程,Cocos2D 將使您能夠迅速製作出您的第一款遊戲。即使您是一位經驗豐富的遊戲開發者,您仍然可以從 Cocos2D 提供的功能中受益。

本書將使您快速進入使用 Cocos2D 為 iPhone 進行遊戲開發的快車道。您將從回顧基本類別和層次結構開始,深入了解動畫和遊戲流程,最後使用一些進階技術創建一個完整的遊戲和用戶界面。

您將從一個空的 Cocos2D 專案開始,並在此基礎上構建,直到最終完成一款完整的遊戲。本書將教您如何處理遊戲邏輯、處理用戶輸入、控制角色和播放音頻。稍後,在本書的最後部分,我們將擁有一個可運行的遊戲,並將探討如何進一步改善該遊戲。

您將從本書中學到的內容
- 安裝 Cocos2D 並使用 Cocos2D Xcode 模板創建專案
- 理解 Cocos2D 架構及其主要類別
- 渲染圖像和文本,移動並動畫化它們
- 使用觸控和陀螺儀控制您的遊戲
- 創建用戶界面並在遊戲畫面之間導航
- 使用物理引擎施加力量並檢測碰撞
- 添加聲音和音樂並更改播放屬性
- 將您的遊戲與 Game Center 整合並進行應用內購買

方法
本書是一個易於遵循的逐步初學者指南,涵蓋創建遊戲的完整過程。它充滿了範例和插圖,對每個主題進行了全面的覆蓋。