In this video we add obstacles to the ground plane. Our obstacles are derived from a cube gameObject that we'll create as a prefab (reusable asset). We'll add textures to the player gameObject and the obstacles. We'll update the code so that we decrement the players energy level when ever the player hits an obstacle.
Latest Code for OrbJumper Game
https://github.com/GavinLonDigital/Or...
🕐 Video Time Indexes
-----------------------------------------
00:00:00 - Introduction
00:01:41 - Extend the ground plane
00:02:23 - Create Obstacle
00:04:04 - Create Obstacle as Prefab
00:05:52 - Add Prefab Obstacles to the Ground Plane
00:08:44 - Add Material to Obstacles
00:10:31 - Add Material to Player GameObject
00:11:35 - Edit PlayerMovement C# Script to Decrement Player Energy Level when Player hits obstacle
00:17:53 - Wrapping up
🔗 Full course link -
• Unity for Beginners (C#) - 2023 - Let...
*********Brilliant**********
The first 200 people to sign up for an Annual Subscription
using the link below will get 20% off
🔗 https://brilliant.sjv.io/ZdYgBz
Support the Channel 👍
------------------------------------
Buy me a Coffee ☕️
🔗 https://www.buymeacoffee.com/GavinLon
PayPal
🔗 https://www.paypal.com/paypalme/GavinLon
🪙 BitCoin
12JZYMiRq5YRDN5R5zuyYt7jMN8eTpkgns
C# Coding Videos Discussed in this Video
-------------------------------------------------------------------
If Statements -
🔗 • C# for Beginners - Part 8 - C# If Sta...
C# Generics -
🔗 • C# Generics (Part 1 - Introduction) A...
C# Inheritance -
🔗 • C# for Beginners - Part 18.1 - C# Inh...
C# DataTypes -
🔗 • C# for Beginners - Part 2 - C# Data T...
Full Playlist - C# for Beginners Course
------------------------------------------------------------
🔗 • Unity for Beginners (C#) - 2023 - Let...
Useful URLs
--------------------
Install Unity -
🔗 https://unity.com/download
Directional Light -
🔗 https://docs.unity3d.com/Manual/Light...
Download Visual Studio Code -
🔗 https://code.visualstudio.com
Using Visual Studio Code with Unity -
🔗 https://code.visualstudio.com/docs/ot...
Read about Time.DeltaTime -
🔗 https://docs.unity3d.com/ScriptRefere...
Materials -
🔗 https://docs.unity3d.com/Manual/mater...
Prefabs -
🔗 https://docs.unity3d.com/Manual/Prefa...
Free Courses and Educational Videos - Gavin Lon
-------------------------------------------------------------------------------
Blazor (Webassembly) Shopping Cart Application full playlist
🔗 • Blazor (WebAssembly) and Web API on ....
Full playlist - Let's Build an ASP .NET Core MVC Web Application on .Net 5
🔗 • Part 1 - Overview - Let's Build an AS...
Full playlist - Advanced C# Course
🔗 • Introduction - Advanced C# Tutorial (...
Full playlist - C# for Beginners Course
🔗 • C# for Beginners - Part 1 - Introduct...
.NET Playlist
🔗 • .NET Framework and .NET Core
🎶All Music in this Video was Created by Gavin Lon