Mastering LibGDX Game Development

Front Cover
Packt Publishing, Nov 26, 2015 - Computers - 420 pages
Leverage the power of LibGDX to create a fully functional, customizable RPG game for your own commercial titleAbout 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 LibGDXWho This Book Is ForIf 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 atmosphereIn DetailLibGDX 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.Style and approachThis book walks you through the concepts and implementation of developing a complete RPG game, unfolding chapter by chapter and building upon previous concepts. Each chapter can be used as an individual reference with diagrams to explain core concepts with concrete example code explained in detail.

What people are saying - Write a review

We haven't found any reviews in the usual places.

Other editions - View all

About the author (2015)

Patrick Hoey is a software engineer with over 15 years of professional experience, contributing to the success of organizations from Fortune 500 companies to startups. While working full time, he completed his master's degree in computer science and then went on to graduate from law school, passed the bar exam, and became a licensed attorney. He has also donated his services as a director at a non-profit company.Patrick started developing video games from the age of 12. The first video game that he created was a crude hangman game for the Atari 800 home computer written in Atari BASIC. He has developed demo programs throughout the years that demonstrate certain features or exercise certain APIs of interest at the time, such as OpenGL, DirectX, SDL, Allegro, Cocos2d-x, and recently LibGDX.For entrepreneurial endeavors, Patrick ported video games to mobile phone platforms. His latest adventure with LibGDX started in 2013, creating a game that he always wanted to play called CityPunk: A Hacker's Story.Patrick's research interests include game development, graphics programming, intellectual property case law, data visualization, microcontrollers for embedded devices, and machine learning.Patrick loves photography, hiking, traveling, and creating short films.Find out more about Patrick on his personal blog at

Bibliographic information