Book Image

Creating E-Learning Games with Unity

By : David Horachek
Book Image

Creating E-Learning Games with Unity

By: David Horachek

Overview of this book

Table of Contents (17 chapters)
Creating E-Learning Games with Unity
About the Author
About the Reviewers

Finding the facts

In this game, the hero (player) plays the park ranger in charge of cleaning up Confederation National Park. In mission one, the park ranger has to find the missing flags for the flag monument and return them to their holders. The user will have to find five of 50 US flags. They will be placed at random locations in the world. The user will have to collect them, read about the associated states' trivia, and then bring the flags back once all the five flags have been found. The game comprises the following components:

  • FlagLocators: This GameObject hierarchy contains a set of potential flag locations. From these 10 potential locations, five will be randomly chosen.

  • Terrain: We introduce the terrain editor in this chapter and create a terrain mesh to replace the ground plane from Chapter 2, Interactive Objects and MissionMgr. As our design requires us to have a park-like setting for our game, the terrain editor is the best candidate for building this in the editor quickly and...