Mastering LibGDX Game Development

Patrick Hoey

  • 出版商: Packt Publishing
  • 出版日期: 2015-11-30
  • 售價: $2,170
  • 貴賓價: 9.5$2,062
  • 語言: 英文
  • 頁數: 420
  • 裝訂: Paperback
  • ISBN: 1785289365
  • ISBN-13: 9781785289361
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Fully leverage the power of LibGDX to create a perfectly functional, customizable RPG game for your own commercial title

About This Book

  • Learn game architecture and design patterns with concrete examples using proper software engineering principles
  • Save time and money with this handy reference guide for future game development with LibGDX
  • Design and develop a fully functional RPG video game from scratch with a hands on, step-by-step approach using LibGDX

Who This Book Is For

If you are an intermediate-level game developer who wants to create an RPG video game but found the creation process overwhelming, either by lack of tutorials or by getting lost in a sea of game-related technologies, engines, or frameworks, then this book is for you. This book assumes familiarity with Java and some basic knowledge of LibGDX.

What You Will Learn

  • Develop characters with stat attributes, player movement, animation, physics, and collision detection
  • Create interactive NPC characters with speech windows and build immersion via dialog trees
  • Build inventory management system UIs with drag and drop items to sell, buy, and equip
  • Design a quest system to expand out the content of your game
  • Form interesting enemies with battle mechanics and spawn points
  • Devise scripted cutscenes to add an element of story and drama
  • Develop save and load game profiles
  • Create special effects to give the game extra "juiciness" and polish, and help build the atmosphere

In Detail

LibGDX is a Java-based framework developed with a heavy emphasis on performance, and includes cross-platform support out of the box (Windows, OS X, Linux, iOS, Android, and HTML5) as well as providing all the low-level functionality so that you can focus on developing your game and not battling with the platform. LibGDX also has an engaged and responsive community, active maintenance, and is available for free without a prohibitive license.

Starting from the beginning, this book will take you through the entire development process of creating an RPG video game using LibGDX.

First, this book will introduce you to the features specific to RPG games, as well as an overview of game architecture. Then, you will create map locations, develop character movement, add animation, integrate collision detection, and develop a portal system. Next, you will learn and develop a HUD and other UI components, as well as an inventory management system. You will then develop NPC interactions including dialog trees, shopkeepers, and quest givers. After this, you will design and create battle features for fighting enemies, as well as event triggers for world events. Finally, you will add the final polish with sound, music, and lighting effects.

By the end of this book, you will have learned and applied core components from the LibGDX framework, as well as have a finished game to use as a springboard for customization and story development for your own commercial video game.

商品描述(中文翻譯)

充分利用LibGDX的功能,為您自己的商業遊戲創建一個完全功能的、可自定義的角色扮演遊戲。

關於本書:
- 使用正確的軟體工程原則,通過具體示例學習遊戲架構和設計模式。
- 這本方便的參考指南可以節省您未來使用LibGDX進行遊戲開發的時間和金錢。
- 使用LibGDX的實踐、逐步方法,從頭開始設計和開發一個完全功能的角色扮演遊戲。

本書適合對遊戲開發有一定了解的中級遊戲開發者。如果您想創建一個角色扮演遊戲,但在創建過程中感到困惑,無論是因為缺乏教程還是在眾多遊戲相關技術、引擎或框架中迷失,那麼這本書就是為您而寫的。本書假設您熟悉Java並具備一些LibGDX的基本知識。

您將學到以下內容:
- 開發具有屬性、玩家移動、動畫、物理和碰撞檢測的角色。
- 創建具有對話窗口的互動NPC角色,並通過對話樹建立沉浸感。
- 構建具有拖放物品的庫存管理系統UI,以進行出售、購買和裝備。
- 設計任務系統以擴展遊戲內容。
- 通過戰鬥機制和生成點創造有趣的敵人。
- 設計腳本化的過場動畫,增加故事和戲劇元素。
- 開發保存和加載遊戲配置文件。
- 創建特殊效果,為遊戲增添額外的「活力」和精緻度,並幫助營造氛圍。

LibGDX是一個基於Java的框架,強調性能,並且支援跨平台(Windows、OS X、Linux、iOS、Android和HTML5),同時提供所有低級功能,讓您專注於開發遊戲而不是與平台作戰。LibGDX還擁有一個積極參與且反應迅速的社區,並且可以免費使用,無需限制性許可證。

從頭開始,本書將帶您完成使用LibGDX創建角色扮演遊戲的整個開發過程。

首先,本書將介紹RPG遊戲的特點,以及遊戲架構的概述。然後,您將創建地圖位置,開發角色移動,添加動畫,集成碰撞檢測,並開發一個傳送門系統。接下來,您將學習並開發HUD和其他UI組件,以及庫存管理系統。然後,您將設計並創建與NPC互動,包括對話樹、商店和任務發布者。在此之後,您將為戰鬥敵人設計並創建戰鬥功能,以及世界事件的事件觸發器。最後,您將添加音效、音樂和照明效果,進行最後的修飾。

通過閱讀本書,您將學習並應用LibGDX框架的核心組件,並擁有一個完成的遊戲,可作為自己商業遊戲的自定義和故事發展的跳板。