Learning iPhone Game Development with Cocos2D 3.0

Kirill Muzykov

  • 出版商: Packt Publishing
  • 出版日期: 2014-06-14
  • 售價: $1,710
  • 貴賓價: 9.5$1,625
  • 語言: 英文
  • 頁數: 512
  • 裝訂: Paperback
  • ISBN: 1782160140
  • ISBN-13: 9781782160144
  • 相關分類: 遊戲引擎 Game-engine
  • 下單後立即進貨 (約3~4週)

商品描述

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遊戲開發的提示。

詳細內容:
Cocos2D-iPhone(Cocos2D-Swift)是一個強大而簡單易用的2D遊戲框架,適用於iPhone。如果您剛開始進行遊戲編程,Cocos2D將使您能夠在短時間內製作第一個遊戲。即使您是一位經驗豐富的遊戲開發人員,您仍然可以從Cocos2D提供的功能中受益。

本書將帶您快速進入使用Cocos2D進行iPhone遊戲開發的軌道。您將從回顧基本類和層次結構開始,深入研究動畫和遊戲流程,最後使用一些高級技術創建一個完整的帶有UI的遊戲。

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

本書的學習重點:
- 安裝Cocos2D並使用Cocos2D Xcode模板創建項目。
- 了解Cocos2D的架構和主要類。
- 渲染圖像和文本,移動和動畫。
- 使用觸摸和陀螺儀來控制遊戲。
- 創建用戶界面並在遊戲屏幕之間導航。
- 使用物理引擎應用力和檢測碰撞。
- 添加聲音和音樂,並更改播放屬性。
- 將遊戲與Game Center集成並進行應用內購買。

方法:
本書是一本易於遵循的逐步入門指南,涵蓋了創建遊戲的整個過程。它充滿了示例和插圖,對每個主題進行了全面的介紹。