Unity from Zero to Proficiency (intermediate)
4.7 (16 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.
290 students enrolled

Unity from Zero to Proficiency (intermediate)

A step-by-step guide to coding your first game in C# with Unity
4.7 (16 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.
290 students enrolled
Created by Patrick Felicia
Last updated 12/2018
English
Current price: $16.99 Original price: $24.99 Discount: 32% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 6.5 hours on-demand video
  • 19 articles
  • 5 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
  • Code confidently in C# for Unity.
  • Understand common coding mistakes and errors in Unity, and how to avoid them easily.
  • Use Rigidbody physics to propel projectiles in the air.
  • Instantiate, use and control Rigidbody objects from your script as well as explosions.
  • Create a simple weapon management system.
  • Create weapons (e.g., a gun and a grenade launcher), manage the collection of ammunition, and also implement a user interface to keep track of ammunition.
  • Use Mecanim and NavMesh navigation to control an animated NPC that detects, follows, or shoot at the player.
  • Create a fully functional game level with armed and intelligent NPCs looking for and attacking the player.
  • Use Navmesh navigation so that the NPCs can find their way to the player.
  • Use Mecanim to animate 3D characters.
  • Control the animation and states of each NPC through your code.
  • Create and use prefabs to speed-up your game creation process.
  • Create and update a user interface.
  • Create NPCs that can detect the player through vision.
Course content
Expand all 86 lectures 06:44:02
+ Before You Start
2 lectures 00:14
Please download thhese files
00:08
Code Solutions
00:06
+ Adding Simple AI
18 lectures 01:02:41
Propelling Projectiles
05:04
Targeting the Player
03:04
Creating Automatic Fire for the Robots
04:57
Adding Explosions
06:15
Adding Items to Collect
04:18
Collecting Items (Part1)
02:44
Collecting Items (Part 2)
05:21
Placing the Player at the Start of the Game
05:23
Fixing the Colliders for the Platforms
02:13
Duplicating the Launcher and Adding Smoke
04:43
Adding a User Interface and Completing the Game
05:27
Checklist
00:11
Quiz
10 questions
Challenge 1
00:18
Challenge 2
00:14
Please Leave a Review
00:07
+ Creating and Managing Weapons
26 lectures 02:37:47
Introduction
00:28
Adding Targets
04:46
Casting a Ray for debugging purposes
08:03
Casting a Ray and Detecting the Objects Ahead
05:58
Firing a weapon
08:00
Managing Ammunition
03:01
Managing the NPC's Health (Part 1)
07:54
Managing the NPC's Health (Part 2)
07:42
Collecting Ammnunition (Part 1)
14:20
Collecting Ammnunition (Part 2)
02:54
Using a Weapon Management System (Part 1)
05:10
Using a Weapon Management System (Part 2)
06:17
Using a Weapon Management System (Part 3)
09:12
Using a Weapon Management System (Part 4)
03:16
Using a Weapon Management System (Part 5)
04:59
Using a Weapon Management System (Part 6)
09:04
Using a Weapon Management System (Part 7)
05:25
Using a Weapon Management System (Part 8)
13:25
Using a Weapon Management System (Part 9)
08:44
Launching Grenades (Part 1)
12:05
Launching Grenades (Part 2)
04:16
Launching Grenades (Part 3)
06:38
Launching Grenades (Part 4)
05:34
Checklist
00:09
Quiz
10 questions
Challenge 1
00:15
Challenge 2
00:12
+ Using Finite State Machines
32 lectures 02:37:48
Introduction
00:22
Introduction to FSM
01:30
Getting Started with Finite State Machines
08:32
Accessing an FSM through C#
04:06
Controlling an NPC with an Animator Controller
03:28
Using Navmesnavigation and FSMs to control the Idle and Follow States
10:32
Adding Sight with Raycasting
09:56
Adding and Configuring a 3D Animated Character
04:39
Adding and Configuring 3D Animations
04:26
Creating Attacks from the NPC
07:44
Reusing Scripts from the Previous Section (Part 1)
11:31
Reusing Scripts from the Previous Section (Part 2)
03:30
Reusing Scripts from the Previous Section (Part 3)
05:59
Adding New States to the NPC (Part 1)
04:43
Adding New States to the NPC (Part 2)
02:34
Controlling the New States from a Script
07:40
Returning to Idle After Being Hit
02:12
Managing the Player's Health
07:37
Ensuring that the NPC is Facing the Player When Shooting
07:31
Adding a Gun to the NPC
03:35
Displaying and Hiding the Gun
07:04
Decreasing the Player's Number of Lives
05:18
Reloading the Scene and Keeping the Player
05:05
Adding Health Packs
06:12
Adding a User Interface for the number of lives and the player's health
06:50
Adding a Screen Flash (Part 1)
02:36
Adding a Screen Flash (Part 2)
07:43
Creating New Prefabs and Amending the Script to Display/Hide the Guns
04:01
Checklist
00:11
Let's Test Your Knowledge
10 questions
Challenge 1
00:17
Challenge 2
00:14
Please Leave a Review
00:08
+ Putting it All Together
8 lectures 25:31
Introduction
00:27
Setting-up the Environment
03:03
Adding Prefabs
02:43
Checking that the NPC's Guns are Displayed Properly
02:27
Adding the Starting and Ending Screens
05:17
Accessing Elemens Only When they are Present in the Scene
09:33
Well Done!
00:40
Bonus Lecture: FREE Book on Procedural Levels
01:21
Requirements
  • This course assumes no prior knowledge on the part of the reader
Description

In this course, you will become proficient in C# and some of Unity's core features, by creating a First person Shooter that includes a 3D environment, intelligent Non-Player Characters, and special effects.

  • In the first section of the course entitled "Adding Simple AI, ", you will use C# for the creation of a simple launcher. You will learn to instantiate, use and control Rigidbody objects from your script as well as creating explosions.


  • In the second section entitled "Creating and Managing Weapons ", you will learn to create and manage weapons using a simple inventory system. You will create an automatic gun and a grenade launcher, manage the collection of ammunition, and also implement a user interface to keep track of ammunition. In addition, you will also learn how to include these as prefabs, so that they can be reused in other levels, and to save you some coding too.


  • In the third section entitled "Using Finite State Machines",  you will get an in-depth explanation of how to create and use Finite State Machines (FSM) in Unity. You will create your FSM and use it to control the behavior and movement of an animated Non-Player Character. You will also learn how to employ NavMesh navigation so that your animated NPCs can navigate easily within the scene to either follow the player or go to a specific location. Finally, you will learn how to optimize your assets so that they can be reused seamlessly in other scenes with no or little changes.


  • The  last section called "Putting it All Together", makes it possible to combine the skills you have acquired in the previous chapters, and to reuse and combine all the objects that you have created so far (e.g., NPCs, weapons, inventory systems, ammunition, etc.), and the concepts (e.g., FSM, NavMesh, RigidBody components, User Interface, etc.) that you have mastered, to create a fully functional level.

After completing this course, you will become proficient in the following areas:

  • C# programming

  • Rigidbody Physics.

  • Objects' Instantiation.

  • Animating 3D characters.

  • Artificial Intelligence for Non-Player Characters

  • Mecanim and Finite-State Machines.

  • Prefabs Creation.

  • Inventory System.

  • RayCasting.

  • Collision Detection.

  • User Interface Creation.

  • Persistent Objects.




Who this course is for:
  • You are a beginners in Unity or programming.
  • You would like to become proficient in the core functionalities offered by Unity.
  • You would like to teach students or help your child to understand how to create games, using coding in C#
  • You would like to start creating games.
  • Although you may have had some prior exposure to Unity, you would like to delve more into Unity and understand its core functionalities in more detail.