Book Image

Building an RPG with Unity 2018 - Second Edition

By : Vahé Karamian
Book Image

Building an RPG with Unity 2018 - Second Edition

By: Vahé Karamian

Overview of this book

In a role-playing game (RPG), users control a character, usually in the game's imaginary universe. Unity has become a top choice for developers looking to create these kinds of immersive RPGs. Building an RPG with Unity 2018, based on building some of the most common RPG features, teaches you tips, tricks, and techniques that can be applied to your own game. To start with, the book guides you through the fundamentals of role-playing games. You will learn the necessary aspects of building an RPG, such as structuring the game environment, customizing characters, controlling the camera, and designing other attributes such as inventory and weapons. You will also explore designing game levels by adding more features. Once you have understood the bigger picture, you will understand how to tackle the obstacles of networking in Unity and implement multiplayer mode for your RPG games. By the end of the book, you will be able to build upon the core RPG framework elements to create your own immersive games.
Table of Contents (16 chapters)
Title Page
Copyright and Credits
Packt Upsell


This chapter was a very involved one. We covered some very important topics and concepts in the chapter that can be used and enhanced for your games. We started the chapter by looking into how to customize your player character. The concepts you take away from the section can be applied to a wide variety of scenarios.

We looked at how to understand the structure of your character model so that you can better determine the customization methods. These are the different types of weapons, clothing, armor, shields, and on.

We then looked at how to create a user interface to help enable us with the customization of our player character during game play. We also learned that the tool we developed can be used to quickly create several different character models (customized) and store them as prefabs for later use. Great time saver! We also learned how to preserve the state of our player character after customization for game play.

We looked at the non-player characters next. We went through...