Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Creating E-Learning Games with Unity

You're reading from  Creating E-Learning Games with Unity

Product type Book
Published in Mar 2014
Publisher
ISBN-13 9781849693424
Pages 246 pages
Edition 1st Edition
Languages
Author (1):
David Horachek David Horachek
Profile icon David Horachek

Table of Contents (17) Chapters

Creating E-Learning Games with Unity
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Introduction to E-Learning and the Three Cs of 3D Games 2. Interactive Objects and MissionMgr 3. Mission One – Find the Facts 4. Mission One – Future Proofing the Code 5. User Interfaces in Unity 6. NPCs and Associated Technology 7. Mission Two – Testing a Player's Learning 8. Adding Animations 9. Synthesis of Knowledge 10. An Extensible Game Framework Pattern in Unity Index

Implementing the core classes for mission one


In this chapter, we will start creating mission one, which presents US geography to the player (state name, flag, and trivia). Let's begin by creating the classes and GameObject instances for this level. To begin, create a new scene file and name it TESTBED.

Creating a terrain

Let's create a nice terrain mesh to replace the ground plane from the previous two levels. With this, we can create a nice-looking mesh for the ground that resembles a park with grass, mountains, and trees by performing the following steps:

  1. In the Assets menu, navigate to Import Package | Terrain Assets. Click on the Import button on the pop-up window that appears next to bring a library of models and textures into Unity for use with the terrain editor.

  2. To create a terrain mesh, let's navigate to CreateOther | Terrain, from the GameObject drop-down list.

  3. On the Set Heightmap resolution pop up that appears, configure the parameters to the following values:

    • Terrain Width, Terrain...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}