Building Android Games with Cocos2d-x
暫譯: 使用 Cocos2d-x 建立 Android 遊戲

Raydelto Hernandez

  • 出版商: Packt Publishing
  • 出版日期: 2015-03-31
  • 售價: $1,250
  • 貴賓價: 9.5$1,188
  • 語言: 英文
  • 頁數: 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 是一個多平台的 C++ 遊戲框架,正在由 Chukong Technologies 積極開發和維護。它包裝了創建遊戲所需的所有基本元素,使遊戲構建的任務對開發者非常友好。


從一個重要的入門指南開始,幫助您快速設置開發環境,您將迅速深入探索這個框架的最新版本。您將了解主要的框架改進,以閃電般的速度渲染物件,輕鬆擴展和維護代碼,並改善標籤 API,以為標籤添加如光暈、陰影和輪廓等出色功能。


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