Learn to Code by Making an Air Hockey Game in Unity®!
4.2 (11 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
98 students enrolled

Learn to Code by Making an Air Hockey Game in Unity®!

Build an air hockey game to learn to code & make art in Blender. Ultimate guide for aspiring game developers!
4.2 (11 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
98 students enrolled
Last updated 4/2018
English
English [Auto]
Current price: $139.99 Original price: $199.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 6.5 hours on-demand video
  • 5 articles
  • 2 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Build an air hockey game in Unity®.
  • Learn the fundamentals of game design.
  • Create artwork in Blender.
  • Code in C#.
Course content
Expand all 53 lectures 06:43:55
+ Introduction to Blender
6 lectures 25:49
Intro and Setting Changes
03:10
Camera Controls
01:37
Emulated Numbpad Camera
02:01
Basic Object Manipulation
04:16
Frequently Used Tools
10:57
Mirror Modifier
03:48
+ Creating Art Assets (Blender Projects)
4 lectures 47:02
Air Hockey Paddle
15:16
Air Hockey Puck
11:49
Air Hockey Table
15:26
Asset Exporting
04:31
+ Introduction to Unity Section 1
8 lectures 58:14
Moving a Cube
12:03
Materials
08:54
Lights
06:15
Particle system
06:20
Applying Physics
04:58
Asset Store
03:11
+ Introduction to Unity Section 2 (Coding)
5 lectures 55:51

Here you will learn the foundations of coding a C# script for Unity. We will use different coding concepts like variables, methods, conditions, and loops to change how a game object is rendered.

Introduction
02:08

Variables: the building blocks of code. When building a game in Unity, you often need to store information, such as a player's age or the current time. Variables are perfect for storing data.

In this lecture, we will use an example of a cube to show some of the useful things variables can do. We will change the size, name, and rotation of a cube using variables in C#.

Variables
16:59

A method in a script performs an operation or function. There are two methods that appear in any C# script you create in Unity. 

A method can perform an operation and return the result. For instance, a method can add numbers, return the sum, and store the sum in a variable. void means the Start method does not return anything. The method can still execute operations.

Methods
16:19

Suppose we wanted to run code only when a certain condition is met. For instance, a player could only fly in a game if they had a jet pack. A player could only buy a bicycle if they had enough money. To implement this kind of functionality, we can use if blocks. 

An if block runs code when a specified condition passes. 

If Blocks
07:40

If we wanted our game to contain multiple cubes, we could duplicate Cube. However, there is an easier way to set the number of game objects in the Scene: using loops. 

Loops
12:45
+ Introduction to Unity Section 3 (Inputs)
6 lectures 58:59

In this section:

We will enable our game to respond to user input. For instance, we will have key presses on a keyboard move a cube around a plane. We will have the cube jump when the Space bar is pressed.

Many games use a system with multiple cameras. We will be able to click, hold, and move a mouse to look at the cube from different perspectives.

Introduction
01:58

When playing a game, a user should interact with the game's software. For instance, to enter a building, a player may have to show their ID. This is an example of an input. Input is important in games because games rely on interaction. 

Key Presses
13:35

Coming up:

We will enable user input to move the cube.

Moving a Player
11:03

There are two ways to make the logic for a player to jump. 

Jumping
10:58

Here you will enable a player to move forward and back using their keyboard!

Moving Forward
07:18
Cycling Camera
14:07
+ Introduction to Unity Section 4 (Prefabs)
7 lectures 51:56

A prefab is a stored instance of a game object that you can reuse. Instead of making multiple enemies in the scene in Unity, you can make an enemy prefab and replicate it.

Coming up, we will create a game where a player shoots a bullet at a wall. When the bullet hits the wall, the bullet will split into multiple pieces. We will use prefabs to achieve the explosion effect. With a prefab, we can make one bullet and replicate it in the scene as many times as needed. 

Introduction
01:49
Introduction to Prefabs
16:51
FAQ on Instantiating Objects
00:27

Coming up: we will offset the movement of the bullets!

Random Angles
09:15
FAQ on Destroying Objects
00:14

Now that we have learned how to spawn a bullet, we will make a simple explosion prefab. Every time a bullet touches the wall, we will spawn an explosion. 

Explosion Effect
13:12
Adding Explosion Effects
10:07
+ Creating the Game (Unity Projects)
13 lectures 01:43:49
Project Set Up
11:40
Setting Up Physics
07:32
Paddle Movement
12:27
Game Bounds
08:00
Bounciness
05:38
Deceleration
07:02
Collisions
07:59
Scoring
13:51
Player 2
13:51
Interface
05:18
Restarting the Game
05:49
Sound Effects
02:45
Challenge Time
01:57
+ Resources
3 lectures 00:08

Get here - source files from the air hockey game of this course!

($1500 value!) Source Files
00:03
Bonus Lecture: Get 130 courses.
00:02
Requirements
  • Unity® 2017.1.0f3 (for game set-up and coding)
  • Blender, a free program to make 3D models
  • This course was recorded on a Mac computer, but you can use a PC.
Description

This course was funded by a wildly successful Kickstarter.

Let's make an air hockey video game! Join Mammoth Interactive step-by-step in building a fully featured game from scratch. We show you how to make all the code and art for the game.

After purchasing this course, you'll be taken step-by-step through every process needed to do just that. Our two very talented instructors, Kevin Liao and Glauco Pires, explain everything from a basic, beginner level. That means you don't need any prior coding or digital art experience to succeed here.

Glauco Pires will take you through the process of coding a game in Unity® from scratch. Kevin Liao will teach you how to create all the artistic elements you will need to complete the game. Kevin will teach this section of the course in Blender to make original 3D art. 

The beauty of taking an online course like this is the ability to replay any of the lectures at any time. There is no time limit or final tests. You get to learn at your own pace with a practical model method of learning.

This course is project-based, so you will not be learning a bunch of useless coding practices. We feel that project based training content is the best way to get from A to B. Taking this course means that you learn practical, employable skills immediately.

You can use the projects you build in this course to add to your LinkedIn profile. Give your portfolio fuel to take your career to the next level.

Learning how to code is a great way to jump in a new career or enhance your current career. Coding is the new math and learning how to code will propel you forward for any situation. Learn it today and get a head start for tomorrow. People who can master technology will rule the future.

You get full lifetime access to this course for a single one-time fee. Enroll today to join the Mammoth community!

Who this course is for:
  • Complete beginners. No prior coding or digital art skills necessary.
  • People who want to make games.
  • Anyone who wants to learn Unity® or Blender.
  • Anyone who wants to learn game development.