Cocos2d-x Cookbook
Akihiro Matsuura
- 出版商: Packt Publishing
- 出版日期: 2015-10-31
- 售價: $1,980
- 貴賓價: 9.5 折 $1,881
- 語言: 英文
- 頁數: 254
- 裝訂: Paperback
- ISBN: 1783284757
- ISBN-13: 9781783284757
-
相關分類:
遊戲引擎 Game-engine
海外代購書籍(需單獨結帳)
相關主題
商品描述
Over 50 hands-on recipes to help you efficiently administer and maintain your games with Cocos2d-x
About This Book
- Build exciting games, apps, and other cross-platform GUI based interactive programs with Cocos2d-x
- Explore the nitty-gritty of the latest Cocos2d-x on the block, version 3.6
- A step-by-step guide that shows you the functionalities of Cocos2d-x followed by an explanation of how they work
Who This Book Is For
If you are a game developer and want to learn more about cross-platform game development in Cocos2d-x, then this book is for you. Knowledge of C++, Xcode, Eclipse, and how to use commands in the terminal are prerequisites for this book.
What You Will Learn
- Install and set up Cocos2d-x for your development environment
- Build, test, and release game applications for iOS and Android
- Develop your games for multiple platforms
- Customize Cocos2d-x for your games
- Use a physical engine in your games
- Save and load text, JSON, XML, or other formats
- Explore the brand new features of Cocos2d-x
In Detail
Cocos2d-x is a suite of open source, cross-platform game-development tools used by thousands of developers all over the world. Cocos2d-x is a game framework written in C++, with a thin platform-dependent layer. Completely written in C++, the core engine has the smallest footprint and the fastest speed of any other game engine, and is optimized to be run on all kinds of devices.
You will begin with the initial setup and installation of Cocos2d before moving on to the fundamentals needed to create a new project. You will then explore and create the sprites, animations, and actions that you will include in the game. Next you will look at strings and create labels, including a label with True Type Font (TTF) font support.
Later, you will learn about layer and scene creation and transition. Then you will create the GUI parts essential for a game, such as buttons and switches. After that, you will breathe life into the game with background music and sound effects using the all new Cocos2d-x audio engine. You will then discover how to manage resource files and implement processes that depend on the operating system.
Finally, you will polish your game with physics such as gravity and elevation, learn about tools that will help you make games more robust and stable, and get to know best practices to improve the game you have developed.
Style and approach
This book is an easy-to-follow guide with ample recipes to help you better understand Cocos2d-x.
商品描述(中文翻譯)
超過50個實用的食譜,幫助您有效地管理和維護使用Cocos2d-x開發的遊戲。
關於本書:
- 使用Cocos2d-x建立令人興奮的遊戲、應用程式和其他跨平台GUI互動程式。
- 探索最新版本3.6的Cocos2d-x的細節。
- 逐步指南,展示Cocos2d-x的功能,並解釋其工作原理。
本書適合對跨平台遊戲開發有興趣的遊戲開發人員。閱讀本書需要具備C++、Xcode、Eclipse和終端機命令的知識。
您將學到:
- 安裝和設置Cocos2d-x開發環境。
- 為iOS和Android建立、測試和發布遊戲應用程式。
- 開發適用於多個平台的遊戲。
- 自定義Cocos2d-x以符合您的遊戲需求。
- 在遊戲中使用物理引擎。
- 儲存和載入文本、JSON、XML或其他格式。
- 探索Cocos2d-x的全新功能。
Cocos2d-x是一套開源的跨平台遊戲開發工具,被全球數千名開發人員使用。Cocos2d-x是一個用C++編寫的遊戲框架,具有薄薄的平台相依層。核心引擎完全使用C++編寫,佔用空間最小且速度最快,並且經過優化以在各種設備上運行。
您將從Cocos2d的初始設置和安裝開始,然後深入研究創建新項目所需的基礎知識。接著,您將探索並創建遊戲中包含的精靈、動畫和動作。接下來,您將研究字串並創建標籤,包括支援True Type字型(TTF)的標籤。
之後,您將學習圖層和場景的創建和轉換。然後,您將創建遊戲所需的GUI元件,例如按鈕和開關。之後,您將使用全新的Cocos2d-x音效引擎為遊戲增添背景音樂和音效。接著,您將了解如何管理資源檔案並實現依賴於作業系統的處理過程。
最後,您將使用物理引擎(如重力和高度)完善遊戲,了解幫助您使遊戲更穩定的工具,並瞭解改進您開發的遊戲的最佳實踐。
本書以易於理解的方式提供豐富的食譜,幫助您更好地理解Cocos2d-x。