Unity 3D Car Racing Game Masterclass

Build a 3D car racing game using Unity & C#. Includes coding AI self-driving cars, hot pursuit mode, and more!

4.10 (12 reviews)
Udemy
platform
English
language
Game Development
category
instructor
123
students
8 hours
content
Mar 2024
last update
$79.99
regular price

What you will learn

Develop SELF-DRIVING AI CARS that race the player

Build a HOT PURSUIT MODE where AI police cars chase the player car

Implement CAR CUSTOMIZATION logic with a garage feature

Create SAVE + LOAD game slots using SCRIPTABLE OBJECTS

Toggle between the EXTERIOR and INTERIOR car views during a race

Design a fully functioning racing UI including a LEADERBOARD, SPEEDOMETER, and MINIMAP

Bolster your knowledge of DESIGN PATTERNS and ALGORITHMS and implement them hands-on

Master creating 3D ANIMATIONS, CINEMATOGRAPHY, SPECIAL EFFECTS, and more

Implement a BREAKABLE OBJECTS system in the game world to create engaging and immersive game levels

Includes advanced material and lighting design

Description

This course will walk you through building an entire video game hands-on, and will take you step-by-step through the game development process.


Did you grow up playing car racing games like Need For Speed and Gran Turismo? Do you want to learn how to build car racing games in Unity using C# code? Growing up, racing games always fascinated me. I was intrigued by how the in-game physics was so realistic and how they simulated driving in the game so accurately. This course will teach you how to build a full racing game in Unity, even if you are a beginner. By the end of this course, you will have a full car racing game that you built in Unity from the ground up.


As we build this course, you are going to gain a wealth of knowledge in the different areas of the Unity game engine. Some of the core game development techniques this course will teach you are:

  • Using C# logic to create SELF-DRIVING AI CARS driving around the track and competing against the player in races.

  • Implementing a HOT PURSUIT MODE where police cars chase the player.

  • Working with Unity's Physics system and understanding how to use components like WHEEL COLLIDERS and Rigidbodies to simulate vehicle movement and interaction with the environment.

  • Utilizing Unity's UI system to build a MINI-MAP and other racing heads up displays like a speedometer.

  • Writing reusable code that can be applied to several different sections of the game. Object-oriented C# scripting techniques for writing CLEAN, REUSABLE CODE.

  • Learn about the different UI components and how they can be used together to build IN-GAME MENUS and selection screens that efficiently and intuitively respond to user input.

  • Turn your ideas into code using C# with Unity and build up a set of skills that you can use to build other CAR RACING GAMES and showcase them in your portfolio.


By the end of this course, you will have a full game project you developed from the ground up! You will also have some more C# tips and tricks that you can add to your arsenal.


If you want to learn game development or are aspiring to build a career in the game industry, then this course is for you!

Content

Introduction

Introduction
Reviewing the Game Design Document (GDD)
A look at the finished game

Program Installation and Setup

Section Introduction
Setup & Install Unity on Mac
Setup & Install Unity on Windows
Downloading & Importing the Game Assets
Staying Organized - Project Setup
Section Summary

Car Driving, Physics, and MVC Logic

Section Introduction
Model View Controller (MVC) Design Pattern
Coding the Car Model Script (the "M")
Coding the Car View Script (the "V")
Coding the Car Controller Script (the "C")
Unity Car Physics Components
Assembling the Muscle Car
Assembling the Sports Car
Assembling the Luxury Car
Car Driving & Physics
Car Driving, Physics, and MVC Logic
Answers and Explanations
Section Summary

Scene Navigation System

Section Introduction
Singleton Design Pattern
Stack Data Structure
Navigation Manager
Using the Scene Manager's sceneLoaded Event
Implementing Back Button Logic
Dictionary Data Structure
Passing Data Between Scenes
Scene Navigation System
Answers and Explanations
Section Summary

Welcome Screen

Section Introduction
Creating a Reusable Menu Header Prefab
Creating a Reusable User Data Panel Prefab
Creating a Reusable Menu Button Prefab
High Tech Background Animation
Car Model, Lighting, and Headlight Flare Effect
Coding the Start Menu Controller Script
Welcome Screen
Answers and Explanations
Section Summary

Save & Load Game Functionality

Section Introduction
Ways to Save Game Data
Creating the Modal Base Class
Creating a Save Slot Modal
Editor Scripting - Creating a Game Data Editor
Game Data Scriptable Object
Save, Load & Reset Game Data
Save & Load Game Functionality
Answers and Explanations
Section Summary

Formatted Text - Generic, Stylizable Text Classes

Section Introduction
Abstract Classes in C#
Formatted Text - our Generic Abstract Class
Date Text - to Display Dates
Time Text - to Display Times
Money Text - to Display In-Game Currency
Lap Text - to Display Laps Completed in the Race
Place Text - to Display What Place a Car is in
Percent Text - to Display a Percentage
Formatted Text - Generic, Stylizable Text Classes
Answers and Explanations
Section Summary

In-Game Modals and Pop-Ups

Section Introduction
What is a Modal?
One Button Modal
Enter Username Modal
Finished Race Modal
Two Button Modal
In-Game Modals and Pop-Ups
Answers and Explanations
Section Summary

Choose a Car Screen

Section Introduction
ICarousel Interface
Car Carousel Script
Rotate 360 Script
Choose a Car Script
Assembling the Choose A Car Screen
Choose a Car Screen
Answers and Explanations
Section Summary

Main Menu

Section Introduction
Coding the Main Menu Controller Script
Assembling the Main Menu
Main Menu
Answers and Explanations
Section Summary

Car Customization & Garage

Section Introduction
Colors in Unity
Customizing the Car Color
Materials in Unity
Customizing the Car Material
Customizing the Rim Materials
Saving & Resetting Style Changes
Selecting an Active Car from the Garage
Car Customization & Garage
Answers and Explanations
Section Summary

Purchasing New Cars & Shop Logic

Section Introduction
Confirm Purchase Modal
Congratulations Modal
Not Enough Money Modal
Shop Controller
Assembling the Car Shop Screen
Section Summary

Select a Track Screen - Image Carousel

Section Introduction
Coding the Track Carousel Class
Writing the Select a Track Controller Script
Assembling the Select a Track Screen
Section Summary

Car Racing UI - Speedometer, Leaderboard & MiniMap

Section Introduction
Laying out the UI
Creating a Speedometer
Leaderboard Script Logic
Building a MiniMap
Pause Menu
Section Summary

Level Design

Section Introduction
Race Controller Script
Track 1 - Daytime Sprint Track
Track 2 - Nighttime Speedway
Track 3 - Figure 8
Section Summary

AI - Artificial Intelligence for Self-Driving Cars

Section Introduction
Understanding the AI Behaviors
AI Script
AI Behavior Script
Steering Script
Seek Script
Path Node Script
Path Script
Self-Driving Car Script
Creating the AI Prefabs
Car Factory Script
Section Summary

Pre-Race Cutscene: Cinematics and Animation

Section Introduction
Building Cutscenes In Unity
Starting the Animation
Moving the Camera
Countdown Animation
A look at the finished cutscene
Section Summary

Hot Pursuit - Chase and Evade Logic

Section Introduction
Level Design
Destroyable Props
Finite State Machine (FSM) for AI
Police Officer - Import 3D Character and Add Walk Cycle
Animated Cutscene
Section Summary

Course Summary and Wrap-Up

Game Polish and Final Touches
Playing the Finished Game
Course Summary and Wrap-Up
Bonus Video

Screenshots

Unity 3D Car Racing Game Masterclass - Screenshot_01Unity 3D Car Racing Game Masterclass - Screenshot_02Unity 3D Car Racing Game Masterclass - Screenshot_03Unity 3D Car Racing Game Masterclass - Screenshot_04

Reviews

Ruedi
October 21, 2023
The disadvantage of this type of course is that you can never really test whether you have worked properly until the end. The frustration is all the greater when, at lesson 144, some problems are listed and a repetition of various lessons becomes necessary. Lesson 143 is completely unconventional - a constant back and forth and all this at an immense speed. The fact that my programme does not work properly is more my fault and yet it would have been nice to have been able to check my final product against the original. Translated with www.DeepL.com/Translator (free version)
Simon
July 28, 2023
I want to learn what this class purportedly teaches but I can’t go on until the 51 error messages are dealt with. Otherwise I’ll just take a refund and look elsewhere.
Lusquan
June 6, 2023
I have a number of courses over the years on Udemy but this trainer is probably the most uniquely and professionally clear in explanation and presentation of content that I have seen. I first "watch" the content before putting them in practice and this trainer so far has made the content so clear with his style of presentation and organization that one can only look forward to more content from him. Though, one hopes in future he makes a "Family" in house car racing game like this one where 4 players can use a controller each and play on the same PC with a home large screen as everyone seems to forget the "family" (focusing only on network multi-player and not inhouse multi-player) as a inhouse source of entertainment as many hobbyist learning games want to do so for their own inhouse family entertainment and family bonding through gaming with the family all playing together on the same PC at home. So far the trainer is top on my list when it comes to clarity and presentation...Period! Well Done!

Charts

Price

Unity 3D Car Racing Game Masterclass - Price chart

Rating

Unity 3D Car Racing Game Masterclass - Ratings chart

Enrollment distribution

Unity 3D Car Racing Game Masterclass - Distribution chart
5112772
udemy ID
1/26/2023
course created date
5/18/2023
course indexed date
Bot
course submited by