Cocos2d-x Cookbook
暫譯: Cocos2d-x 食譜
Akihiro Matsuura
- 出版商: Packt Publishing
- 出版日期: 2015-10-31
- 售價: $2,000
- 貴賓價: 9.5 折 $1,900
- 語言: 英文
- 頁數: 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 互動程式
- 深入探索最新版本 Cocos2d-x 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 Font (TTF) 字體的標籤。
稍後,您將學習有關圖層和場景的創建及轉換。然後,您將創建遊戲所需的 GUI 部件,例如按鈕和開關。之後,您將使用全新的 Cocos2d-x 音頻引擎為遊戲注入生命,添加背景音樂和音效。接下來,您將發現如何管理資源文件並實施依賴於操作系統的過程。
最後,您將使用重力和高度等物理效果來完善您的遊戲,學習幫助您使遊戲更穩健和穩定的工具,並了解改進您所開發遊戲的最佳實踐。
風格與方法
本書是一個易於遵循的指南,提供豐富的食譜,幫助您更好地理解 Cocos2d-x。