Important Notice:

On July 31st, 2017 the Digital-Tutors library will be retired along with Digital-Tutors concurrent licensing. Effective August 1, 2017 any active group plans will be redirected to www.pluralsight.com. Each group plan will receive one individual user license on Pluralsight for each active Digital-Tutors license. Please contact your account representative for any additional questions.
Rewarding the player with an extra life
See Details
Joshua Kinney

Pluralsight

Joshua Kinney
In this series of tutorials we will learn how to create a coin collection system that will update the UI and reward the player for finding all of the coins.

To get started we'll learn how to properly set up our coins in order to collide with the player. Then we'll create a script that keeps track of how many coins we've collected and how to update the UI for the player. After that, we'll learn how to properly create a UI system that will update the proper data.

To wrap up the training, we'll learn how to reward the player with an extra life once they've collected all of the coins.
Introduction and project overview
1

Introduction and project overview

 
00:51
Setting up the coin game object
2

Setting up the coin game object

 
05:11
Scripting the coin behavior
3

Scripting the coin behavior

 
06:32
Setting up the coin UI
4

Setting up the coin UI

 
07:52
Modifying the coin script to update the UI
5

Modifying the coin script to update the UI

 
07:06
Creating the game state
6

Creating the game state

 
07:27
Setting up the UI for lives
7

Setting up the UI for lives

 
08:15
Rewarding the player with an extra life
8

Rewarding the player with an extra life

 
06:19