Important Notice:

The Digital-Tutors site will soon be retired and your access will be turned off - but don’t worry, you can still enjoy all your favorite Digital-Tutors content on Pluralsight (plus thousands of additional courses, skill assessments, paths and more). You can log in to Pluralsight with your Digital-Tutors credentials, as well as update your password at any time on Pluralsight. Please contact us with questions or concerns: support@pluralsight.com.
Creating Collectible Items for 2D Games in Unity
See Details
Released Feb 21, 2014
  • Unity
    Unity 4.3
  • 49m 33s
  • 13,177 views
  • Project Files Included
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