Keep your fork – there's pie!

The third type of clock we'll build is a pie chart-style clock. Here's what it will look like when it's counting down:

Keep your fork – there's pie!

Pop quiz – how do we build it?

Before reading any further, stare at the picture of the pie clock and try to figure out how you would build it if you didn't have this book in front of you. As a new game developer, you'll spend a significant amount of time trying to mimic or emulate different effects you see in the games you enjoy. It's almost like watching a magic show and trying to figure out how they did it. So, how'd they do it?

(If you need a hint, take a look at the unused textures in the Project

Get Unity 4.x Game Development by Example Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.