Book Image

Mastering Unity 5.x

By : Alan Thorn
Book Image

Mastering Unity 5.x

By: Alan Thorn

Overview of this book

Mastering Unity 5.x is for developers wishing to optimize the features of Unity 5.x. With an in-depth focus on a practical project, learn all about Unity architecture and impressive animation techniques. With this book, produce fun games with confidence.
Table of Contents (16 chapters)
Mastering Unity 5.x
Credits
About the Author
Acknowledgment
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Word combat


Let's consider the work ahead in more detail. Combat in Dead Keys is ultimately an exercise in speed typing. A complete word or phrase in English is randomly selected from a large dictionary, then presented in UI form above the head of an attacking zombie. One or more zombies may attack the player at any one time, each associated with a unique word or phrase. The player must use the keyboard to type the matching phrase as quickly as possible, mitigating the attack and destroying the zombie. Hence, they must type under time pressure. When a word or phrase is entered in full correctly, letter for letter, the zombie is destroyed. Mistakes in typing reset progress, forcing the player to retype the phrase from the first letter.

Zombies and Words!

Note

If you want to follow along step by step, the starting point for this chapter is found in the book's companion files, in the folder chapter_04/start.