O'Reilly logo

Mastering Unity 2D Game Development by Simon Jackson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

Putting it all together

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required