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.
2D Racing Game Series in Unity: Volume 1
See Details
Released Aug 26, 2013
Joshua Kinney

Pluralsight

Joshua Kinney
In the first volume of the 2D Racing Game Series in Unity, we'll be covering how to begin prototyping our 2d racing game.

We'll begin the series by setting up our project and importing the essential files we need to get prototyping faster. Then we'll learn how to create the track prefab and how we can use it to set up a simple race track.

Once the track is built, we will create the player prefab and jump right into scripting. We'll begin with scripting the player's movement and discussing how to get the exact behavior we want. Once we have the basic movement functionality, we'll dig a little deeper by seeing how we can use velocity to create a different driving experience. Then we'll finish this volume by working on the Sprite Animation script. Here we will create a flexible system that will offset and scale our sprite sheet, resulting in a fully animated sprite.
Introduction and project overview
1

Introduction and project overview

 
00:59
Setting up the project
2

Setting up the project

 
08:54
Building the race track
3

Building the race track

 
08:55
Adding track detail
4

Adding track detail

 
11:18
Creating the player prefab
5

Creating the player prefab

 
04:20
Scripting player movement
6

Scripting player movement

 
10:06
Refining the player movement
7

Refining the player movement

 
08:01
Adding velocity functionality
8

Adding velocity functionality

 
08:43
Finishing the player movement script
9

Finishing the player movement script

 
05:31
Starting the sprite animation script
10

Starting the sprite animation script

 
08:36
Adding time and animation frames
11

Adding time and animation frames

 
12:51
Finishing the base sprite animation functionality
12

Finishing the base sprite animation functionality

 
11:20
Tying the animations to player input
13

Tying the animations to player input

 
15:58
Setting up non-looping animations
14

Setting up non-looping animations

 
15:06