Prototype 1: Apple Picker

Here it is. Today, you make your first digital game prototype.

Because this is your first prototype, it is rather simple. As you continue through the prototyping chapters, the projects get more complex and use more of the features of Unity.

By the end of this chapter, you will have a working prototype of a simple arcade game.

Lecture Notes

Errata

  • p. 441 – See note below about changes to GUIText in Unity 4.6.
  • p. 433 – The text states incorrectly that Random.value will never equal 1, but Unity’s Random.value will choose any number between 0 (inclusive) and 1 (inclusive), so the value of Random.value can be 1.
  • p. 434 – The text has the word “serialized” between two slashes. It should have been italicized instead.
  • p. 444-445 – On three lines across these pages, comments start with four forward slashes instead of two (e.g., “////”). Though this is incorrect is also doesn’t have any adverse effect.

Unity 4.6 and Unity 5.x Update Deprecating GUIText

With the release of Unity 4.6 came major changes to the GUI (Graphical User Interface) within Unity. This process has continued, and now in Unity 5.4, they have completely deprecated the use of the old immediate mode GUI system. Now, I recommend using the much more robust UGUI (Unity Graphical User Interface) system and have described how to incorporate it into the projects in the first edition of the book here.

Lecture Notes

Tutorial Files