O'Reilly logo

Creating E-Learning Games with Unity by David Horachek

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 7. Mission Two – Testing a Player's Learning

In this chapter, we will program the second mission for our e-learning game. The objective of this level will be to test the learning that occurred in the first flag-collecting level. The theme of the level will be a race against two other NPCs through a park, where the player will have to answer trivia questions from NPCs placed randomly along the path. The player will have to achieve 100 percent accuracy and be placed first in the race in order to advance to level three.

In this chapter, we will cover the following topics:

  • Exploring the structure of mission two
  • Defining the framework for mission two
  • Adding a mission to the missionMgr script
  • Extending the GameCam script
  • Modifying the terrain
  • Adding ...

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