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

Summary

We developed a data-driven dispatch system of condition and response classes. We extended these bases to build a library of behaviors from which we can construct NPC behaviors. We then developed a decision-manage class that can evaluate these conditions and dispatch responses. This extendible pipeline can be specialized and quickly iterated upon in the Unity3D Editor. In the next chapter, we will put this to good use as we write the second level of our e-learning game. This level will take the knowledge learned from Chapter 1, Introduction to E-Learning and the Three Cs of 3D Games, and will test the player's recall in a fun and engaging way.

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