Game Development Reference
In-Depth Information
Chapter 7. Mission
Two
-
Testing
a
Player's Learning
In this chapter, we will program the second mission for our e-learning game. The ob-
jective 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 NpcRacers to the mission
• Creating the start and finish line flags
• Creating the LevelStart and LevelFinished pop ups
• Creating the setupLevel2 Prefab
• Creating the raceStartup Prefab
• Implementing the LevelLogicObj GameObject
Exploring the structure of mission two
The choice of a quiz race for mission two's gameplay was made to fill a number of
e-learning game design requirements.
Recall that learning does not occur in a vacuum. Without testing for player compre-
hension, we cannot assess quantitatively how much learning has occurred, so a form
of player interaction is necessary; the NPCs presenting the quiz cards fills this role.
This is the source of challenge in the game.
The other racers chasing the player through the course add a level of pressure on the
player. This is the source of intensity or pressure in the game.
Search WWH ::




Custom Search