O'Reilly logo

Unity Game Development Scripting by Kyle D'Aoust

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

Chapter 10. Putting It All Together

In this chapter, based on what you learned in the previous chapters, we will create a small game. We won't be using everything, but will use most of what you learned. This chapter will be a great exercise to help you learn how everything we created works.

In this chapter, you will learn how to:

  • Create a main menu
  • Create a few playable levels
  • Implement character interactions
  • Use sound effects and music
  • Use the save and load features you created
  • Implement enemy AI

Creating levels

In the game, there will be three playable levels and a main menu. The main menu will have three buttons on it: one to play the game, one for options, and a final one to exit the game.

The main menu

Create a new scene and name it Main Menu. Next, ...

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