Unity 3D Car Racing Game Masterclass
Published 5/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 4.58 GB | Duration: 7h 46m
Published 5/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 4.58 GB | Duration: 7h 46m
Build a 3D car racing game using Unity & C#. Includes coding AI self-driving cars, hot pursuit mode, and more!
What you'll 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
Requirements
A Mac, Windows, or Linux computer that can run Unity
A basic knowledge of Unity and C#
Note: All software and programs for this course are FREE (Mixamo requires email to sign up)
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!
Overview
Section 1: Introduction
Lecture 1 Introduction
Lecture 2 Reviewing the Game Design Document (GDD)
Lecture 3 A look at the finished game
Section 2: Program Installation and Setup
Lecture 4 Section Introduction
Lecture 5 Setup & Install Unity on Mac
Lecture 6 Setup & Install Unity on Windows
Lecture 7 Downloading & Importing the Game Assets
Lecture 8 Staying Organized - Project Setup
Lecture 9 Section Summary
Section 3: Car Driving, Physics, and MVC Logic
Lecture 10 Section Introduction
Lecture 11 Model View Controller (MVC) Design Pattern
Lecture 12 Coding the Car Model Script (the "M")
Lecture 13 Coding the Car View Script (the "V")
Lecture 14 Coding the Car Controller Script (the "C")
Lecture 15 Unity Car Physics Components
Lecture 16 Assembling the Muscle Car
Lecture 17 Assembling the Sports Car
Lecture 18 Assembling the Luxury Car
Lecture 19 Car Driving & Physics
Lecture 20 Answers and Explanations
Lecture 21 Section Summary
Section 4: Scene Navigation System
Lecture 22 Section Introduction
Lecture 23 Singleton Design Pattern
Lecture 24 Stack Data Structure
Lecture 25 Navigation Manager
Lecture 26 Using the Scene Manager's sceneLoaded Event
Lecture 27 Implementing Back Button Logic
Lecture 28 Dictionary Data Structure
Lecture 29 Passing Data Between Scenes
Lecture 30 Answers and Explanations
Lecture 31 Section Summary
Section 5: Welcome Screen
Lecture 32 Section Introduction
Lecture 33 Creating a Reusable Menu Header Prefab
Lecture 34 Creating a Reusable User Data Panel Prefab
Lecture 35 Creating a Reusable Menu Button Prefab
Lecture 36 High Tech Background Animation
Lecture 37 Car Model, Lighting, and Headlight Flare Effect
Lecture 38 Coding the Start Menu Controller Script
Lecture 39 Answers and Explanations
Lecture 40 Section Summary
Section 6: Save & Load Game Functionality
Lecture 41 Section Introduction
Lecture 42 Ways to Save Game Data
Lecture 43 Creating the Modal Base Class
Lecture 44 Creating a Save Slot Modal
Lecture 45 Editor Scripting - Creating a Game Data Editor
Lecture 46 Game Data Scriptable Object
Lecture 47 Save, Load & Reset Game Data
Lecture 48 Answers and Explanations
Lecture 49 Section Summary
Section 7: Formatted Text - Generic, Stylizable Text Classes
Lecture 50 Section Introduction
Lecture 51 Abstract Classes in C#
Lecture 52 Formatted Text - our Generic Abstract Class
Lecture 53 Date Text - to Display Dates
Lecture 54 Time Text - to Display Times
Lecture 55 Money Text - to Display In-Game Currency
Lecture 56 Lap Text - to Display Laps Completed in the Race
Lecture 57 Place Text - to Display What Place a Car is in
Lecture 58 Percent Text - to Display a Percentage
Lecture 59 Answers and Explanations
Lecture 60 Section Summary
Section 8: In-Game Modals and Pop-Ups
Lecture 61 Section Introduction
Lecture 62 What is a Modal?
Lecture 63 One Button Modal
Lecture 64 Enter Username Modal
Lecture 65 Finished Race Modal
Lecture 66 Two Button Modal
Lecture 67 Answers and Explanations
Lecture 68 Section Summary
Section 9: Choose a Car Screen
Lecture 69 Section Introduction
Lecture 70 ICarousel Interface
Lecture 71 Car Carousel Script
Lecture 72 Rotate 360 Script
Lecture 73 Choose a Car Script
Lecture 74 Assembling the Choose A Car Screen
Lecture 75 Answers and Explanations
Lecture 76 Section Summary
Section 10: Main Menu
Lecture 77 Section Introduction
Lecture 78 Coding the Main Menu Controller Script
Lecture 79 Assembling the Main Menu
Lecture 80 Answers and Explanations
Lecture 81 Section Summary
Section 11: Car Customization & Garage
Lecture 82 Section Introduction
Lecture 83 Colors in Unity
Lecture 84 Customizing the Car Color
Lecture 85 Materials in Unity
Lecture 86 Customizing the Car Material
Lecture 87 Customizing the Rim Materials
Lecture 88 Saving & Resetting Style Changes
Lecture 89 Selecting an Active Car from the Garage
Lecture 90 Answers and Explanations
Lecture 91 Section Summary
Section 12: Purchasing New Cars & Shop Logic
Lecture 92 Section Introduction
Lecture 93 Confirm Purchase Modal
Lecture 94 Congratulations Modal
Lecture 95 Not Enough Money Modal
Lecture 96 Shop Controller
Lecture 97 Assembling the Car Shop Screen
Lecture 98 Section Summary
Section 13: Select a Track Screen - Image Carousel
Lecture 99 Section Introduction
Lecture 100 Coding the Track Carousel Class
Lecture 101 Writing the Select a Track Controller Script
Lecture 102 Assembling the Select a Track Screen
Lecture 103 Section Summary
Section 14: Car Racing UI - Speedometer, Leaderboard & MiniMap
Lecture 104 Section Introduction
Lecture 105 Laying out the UI
Lecture 106 Creating a Speedometer
Lecture 107 Leaderboard Script Logic
Lecture 108 Building a MiniMap
Lecture 109 Pause Menu
Lecture 110 Section Summary
Section 15: Level Design
Lecture 111 Section Introduction
Lecture 112 Race Controller Script
Lecture 113 Track 1 - Daytime Sprint Track
Lecture 114 Track 2 - Nighttime Speedway
Lecture 115 Track 3 - Figure 8
Lecture 116 Section Summary
Section 16: AI - Artificial Intelligence for Self-Driving Cars
Lecture 117 Section Introduction
Lecture 118 Understanding the AI Behaviors
Lecture 119 AI Script
Lecture 120 AI Behavior Script
Lecture 121 Steering Script
Lecture 122 Seek Script
Lecture 123 Path Node Script
Lecture 124 Path Script
Lecture 125 Self-Driving Car Script
Lecture 126 Creating the AI Prefabs
Lecture 127 Car Factory Script
Lecture 128 Section Summary
Section 17: Pre-Race Cutscene: Cinematics and Animation
Lecture 129 Section Introduction
Lecture 130 Building Cutscenes In Unity
Lecture 131 Starting the Animation
Lecture 132 Moving the Camera
Lecture 133 Countdown Animation
Lecture 134 A look at the finished cutscene
Lecture 135 Section Summary
Section 18: Hot Pursuit - Chase and Evade Logic
Lecture 136 Section Introduction
Lecture 137 Level Design
Lecture 138 Destroyable Props
Lecture 139 Finite State Machine (FSM) for AI
Lecture 140 Police Officer - Import 3D Character and Add Walk Cycle
Lecture 141 Animated Cutscene
Lecture 142 Section Summary
Section 19: Course Summary and Wrap-Up
Lecture 143 Game Polish and Final Touches
Lecture 144 Playing the Finished Game
Lecture 145 Course Summary and Wrap-Up
Lecture 146 Bonus Video
Anyone that wants to learn to build car racing games in Unity,Game development students and aspiring game developers,Anyone with basic to mid-level Unity knowledge that wants to level up