Learning Cocos2d-x Game Development
暫譯: 學習 Cocos2d-x 遊戲開發

Siddharth Shekar

  • 出版商: Packt Publishing
  • 出版日期: 2014-09-25
  • 售價: $2,000
  • 貴賓價: 9.5$1,900
  • 語言: 英文
  • 頁數: 266
  • 裝訂: Paperback
  • ISBN: 1783988266
  • ISBN-13: 9781783988266
  • 相關分類: 遊戲引擎 Game-engine
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Learn cross-platform game development with Cocos2d-x

About This Book

  • Create a Windows Store account and upload your game for distribution
  • Develop a game using Cocos2d-x by going through each stage of game development process step by step

Who This Book Is For

If you are a hobbyist, novice game developer, or programmer who wants to learn about developing games/apps using Cocos2d-x, this book is ideal for you.

What You Will Learn

  • Configure and create a Cocos2d-x project on Windows
  • Understand the basics of Cocos2d-x classes such as CCScene, CCLayer, and CCSprite
  • Develop different control schemes using buttons, a gyroscope, and a custom touch area
  • Implement various methods for collision detection such as circle collision and bounding box collision
  • Discover how to add and remove objects from the screen and update the score as well as Gameover condition
  • Get to grips with the tools used to create spritesheets as well as custom fonts and design particles
  • Integrate ads and in-app purchases in the game to monetize the game

In Detail

Cocos2d-x is one of the most popular cross-platform 2D game engines. It is packed with powerful features that set it apart from other game engines. With so many languages and operating systems, Cocos2d-x provides a one-stop solution for developing games for the operating system of your choice using the language you are most comfortable with. Starting from the basics, this book will show you how to display content on the screen and make it interact as well as move around with various control mechanisms such as actions, accelerometer, and tap onscreen buttons. You will learn about the mechanics of collision detection, their advantages and disadvantages, and how to keep track of the score. You will then create a gameplay cycle, use third-party tools to expedite the development process, and distribute the game through the App Store.

By working through the carefully designed chapters of the book, you will master Cocos2d-x and the various tools so that you can use these skills to make a complete game or a quick prototype.

商品描述(中文翻譯)

學習使用 Cocos2d-x 進行跨平台遊戲開發

本書介紹


  • 創建 Windows Store 帳戶並上傳您的遊戲以進行發行

  • 通過逐步了解遊戲開發過程的每個階段,使用 Cocos2d-x 開發遊戲

本書適合誰

如果您是業餘愛好者、新手遊戲開發者或希望學習使用 Cocos2d-x 開發遊戲/應用程式的程式設計師,這本書非常適合您。

您將學到什麼

  • 在 Windows 上配置並創建 Cocos2d-x 專案
  • 了解 Cocos2d-x 類別的基本概念,例如 CCScene、CCLayer 和 CCSprite
  • 使用按鈕、陀螺儀和自定義觸控區域開發不同的控制方案
  • 實現各種碰撞檢測方法,例如圓形碰撞和邊界框碰撞
  • 了解如何從螢幕上添加和移除物件,並更新分數以及遊戲結束條件
  • 熟悉用於創建精靈圖集、定制字型和設計粒子的工具
  • 在遊戲中整合廣告和應用內購買以實現遊戲的貨幣化

詳細內容

Cocos2d-x 是最受歡迎的跨平台 2D 遊戲引擎之一。它擁有強大的功能,使其與其他遊戲引擎區別開來。隨著如此多的語言和操作系統,Cocos2d-x 提供了一個一站式解決方案,讓您可以使用最熟悉的語言為您選擇的操作系統開發遊戲。本書將從基礎開始,向您展示如何在螢幕上顯示內容並使其互動,以及如何使用各種控制機制(例如動作、加速度計和螢幕按鈕點擊)進行移動。您將學習碰撞檢測的機制、其優缺點,以及如何跟踪分數。然後,您將創建遊戲循環,使用第三方工具加快開發過程,並通過 App Store 發行遊戲。

通過仔細設計的章節,您將掌握 Cocos2d-x 及其各種工具,從而能夠利用這些技能製作完整的遊戲或快速原型。