Putting it all together
Right, after all of that "brain input", let's start applying it to our game. In this chapter, we are aiming to add an NPC or two, give them something to talk about, and maybe add some special reactions.
If you haven't done so already, import the other character sprites and set up their animations as well. You can either add them to the scene or just create some prefabs in your Project view:
I've added the following characters (shown in the preceding screenshot):
Greandal (left): This character is the local barkeeper and mayor of our lone village
Olaf (right): This character is your hero's best friend and an all-round troublemaker
Greybeard (center): This character is the strange wizard from the east
With these characters in place, we need to start adding some character to our NPCs as well as add our hero. In Chapter 2, Character Building, we outlined some classes to describe and manage the entities in the game, so let's bring them in now.
We could also do with a little tidying...