Book description
Leverage the power of LibGDX to create a fully 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.
Style and approach
This 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.
Table of contents
-
Mastering LibGDX Game Development
- Table of Contents
- Mastering LibGDX Game Development
- Credits
- About the Author
- Acknowledgments
- About the Reviewers
- www.PacktPub.com
- Preface
-
1. As the Prophecy Foretold, a Hero is Born
- Understanding the fundamentals of role-playing games
- Technologies used when developing a role-playing game
- Understanding the basics of a game architecture
- Understanding the high-level component layout of LibGDX
- Understanding the application lifecycle of LibGDX
- Setting up your development environment
- Understanding the build environment and project structure
- Running the default demo project
- See also
- Summary
-
2. Welcome to the Land of BludBourne
- Creating and editing tile-based maps
- Implementing the starter classes for BludBourne
- Implementing asset management with loading textures and tile-based maps
- Implementing the camera and displaying a map in the render loop
- Implementing map management with spawn points and a portal system
- Implementing your player character with animation
- Implementing input handling for player character movement
- Summary
- 3. It's Pretty Lonely in BludBourne…
- 4. Where Do I Put My Stuff?
- 5. Time to Breathe Some Life into This Town
- 6. So Many Quests, So Little Time…
- 7. Time to Show These Monsters Who's the Boss
- 8. Oh, No! Looks Like Drama!
- 9. Time to Set the Mood
- 10. Prophecy Fulfilled, Our Hero Awaits the Next Adventure
- Index
Product information
- Title: Mastering LibGDX Game Development
- Author(s):
- Release date: November 2015
- Publisher(s): Packt Publishing
- ISBN: 9781785289361
You might also like
book
Learning Libgdx Game Development
Are your games limited to one platform? Use our practical guide to libGDX and before long …
book
LibGDX Game Development By Example
Learn how to create your very own game using the libGDX cross-platform framework About This Book …
book
Learning LibGDX Game Development - Second Edition
Wield the power of the LibGDX framework to create a cross-platform game In Detail LibGDX is …
book
Beginning Java Game Development with LibGDX
Design and create video games using Java, with the LibGDX software library. By reading Beginning Java …