Description
Course info
Level
Intermediate
Updated
Feb 1, 2012
Duration
1h 57m
Description

In this Unity tutorial, we'll learn how to code a game's state or logic to keep track of things like timers, kills, and rounds. Through these lessons, we'll examine our game design doc and build game-play functionality. We'll begin with creating a simple count-down timer and how to let other scripts cleanly access it. Then we'll learn how to start and end our game with a splash screen to hide the level. Next we'll create functions for the various parts of a game, like winning a round, pausing the game, killing an enemy, saving our data, resetting our game, and game over. Finally we'll take a quick look at randomly spawning our player. A game's internal logic is one of the most important parts of any game's development. By learning how to deal with many common game states, we can extend them to fit our own game's needs. Software required: Unity 3.4.

About the author
About the author

Chris is a VFX author at Pluralsight. Along with creating and recording training, he also manages the support team and works closely with the production development team. He began his career working freelance and quickly realized that he wanted to find a company where he could use his talents to help people succeed in the CG industry.

More from the author
Artist Guide to Motion Graphics in 3ds Max
Intermediate
3h 37m
Sep 30, 2013
Artist's Guide to Smoke 2013
Beginner
1h 53m
Feb 4, 2013
Tips and Tricks in Smoke
Intermediate
32m
Feb 2, 2013
More courses by Chris Glick