Building Android Games with Cocos2d-x

Raydelto Hernandez

  • 出版商: Packt Publishing
  • 出版日期: 2015-03-31
  • 售價: $1,240
  • 貴賓價: 9.5$1,178
  • 語言: 英文
  • 頁數: 147
  • 裝訂: Paperback
  • ISBN: 1785283839
  • ISBN-13: 9781785283833
  • 相關分類: Android遊戲引擎 Game-engine
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Learn to create engaging and spectacular games for Android using Cocos2d-x

About This Book

  • Create fun physics games to rival the bestselling games on Google Play
  • Save time by creating your Android games using this integrated framework
  • Learn to create a simple game using step-by-step instructions provided throughout the book

Who This Book Is For

If you have a basic understanding of the C++ programming language and want to create videogames for the Android platform, then this technology and book is ideal for you.

What You Will Learn

  • Set up your work environment
  • Learn how to create graphic elements and animate them
  • Use the built-in physics engine to make your games more realistic
  • Manage user interaction using the touch and accelerometer capabilities
  • Boost your game's visual appeal by learning to add text and using true type and bitmap fonts
  • Enhance your game by adding sound effects and background music
  • Discover how to add rich explosion effects using particle systems
  • Add native Java code to your Android game

In Detail

Cocos2d-x is a multi-platform C++ gaming framework in active development maintained by Chukong technologies. It wraps all the essential elements needed for creating a game, making the task of game building very developer-friendly.

Starting with a vital primer to get you up and running with your development environment, you will quickly dive in to exploring the latest version of this framework. You will understand major framework improvements to render objects at lightning speed, extend and maintain code easily, and improve the label API to add great functionality such as glow, shadows, and outlines to labels.

Through the creation of a real game, you will explore the core components of development including Physics, enabling you to create realistic sprite movements, and particle systems to dynamically simulate explosions, fire, rain, and smoke, as well as exploring the sound engine to make your game more robust. Finish by integrating Cocos2d-x C++ code with native Android code to launch games with the classic Java Android application.

商品描述(中文翻譯)

學習使用Cocos2d-x創建引人入勝且壯觀的Android遊戲

關於本書
- 創建有趣的物理遊戲,與Google Play上最暢銷的遊戲相媲美
- 使用這個集成框架,節省創建Android遊戲的時間
- 透過本書提供的逐步指示,學習創建簡單的遊戲

本書適合對C++程式語言有基本了解並希望為Android平台創建視頻遊戲的讀者。

你將學到什麼
- 設置工作環境
- 學習創建圖形元素並對其進行動畫處理
- 使用內建的物理引擎使遊戲更加逼真
- 使用觸控和加速度計功能管理用戶互動
- 通過學習添加文本、使用真型和點陣字體來提升遊戲的視覺吸引力
- 通過添加音效和背景音樂來增強遊戲體驗
- 了解如何使用粒子系統添加豐富的爆炸效果
- 將原生Java代碼添加到Android遊戲中

詳細內容
Cocos2d-x是一個由Chukong Technologies維護的多平台C++遊戲框架,目前正在積極開發中。它封裝了創建遊戲所需的所有基本元素,使遊戲建立任務對開發者非常友好。

從重要的入門指南開始,幫助您快速上手開發環境,然後您將迅速深入探索這個框架的最新版本。您將了解主要的框架改進,以實現物件的快速渲染,輕鬆擴展和維護代碼,並改進標籤API以添加輝光、陰影和輪廓等功能。

通過創建一個真實的遊戲,您將探索開發的核心組件,包括物理引擎,使您能夠創建逼真的精靈運動,以及粒子系統,動態模擬爆炸、火、雨和煙等效果,同時還將探索聲音引擎,使您的遊戲更加強大。最後,將Cocos2d-x C++代碼與原生Android代碼集成,以使用經典的Java Android應用程序啟動遊戲。