O'Reilly logo

Unity 3D Game Development by Example by Ryan Henson Creighton

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

Unfinished business

With this chapter, you've mastered an important step in your journey as a game developer. Understanding how to build a game clock will serve you well in nearly all of the games you venture off to build. Games without some kind of clock or timer are uncommon, so adding this notch to your game developer tool belt is a real victory. Here are some skills you learned in this chapter:

  • Creating a font material
  • Displaying values on-screen with GUIText
  • Converting numbers to strings
  • Formatting string data to two decimal places
  • Ratios: the only math you'll ever need (according to someone who doesn't know math)!
  • Storing texture images in variables
  • Scaling or snipping graphics based on script data
  • Rotating, and then unrotating, the GUI
  • Converting ...

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