Learn the fundamentals of programming State Machines in Unity with this new video break down!
This tutorial explains important concepts of the State Pattern, and how to use State Machines when programming! Today we will walk through an example project to showcase the benefits of using state, the state pattern and state machines in Unity!
This is the first episode in a new series of videos on this channel: Programming for Production. In this series, we’ll take relatively complex software development topics and try to break them down in easy-to-understand way. Let’s take our programming skills to the next level!
SUPPORT THE CHANNEL:
💛
iHeartGameDev Merch:
💛
WANT MORE?
Interested in learning more about animating characters in Unity? Check out my growing series of tutorials:
✅
✦ Like the vid? Please consider Subscribing!
✦ Missed out on the last episode?
SOCIAL:
✦ Discord
✦ Twitter
LINKS FROM THE VIDEO:
🤖 Download Jammo for YOUR game:
⭐ And Check Out @mixandjam !
GEAR:
Lumix G7 Camera:
Epomaker GK68 Keyboard:
Samson C01U Pro Mic:
LG 27“ Monitor:
Lepow 15.6“ Portable Monitor:
Logitech G604 Mouse:
Audio-Technica ATH-M50X Headphones:
X-Pen Artist 15.6 Pro Drawing Tablet:
Apple 15in MacBook Pro Laptop:
►TIMESTAMPS:
Intro: 0:00
The Problem: 0:40
What is State: 0:57
Anything Can Have State: 1:42
What does State do: 2:04
What is the State Pattern: 2:38
Bad-Implementation Apple Pseudocode: 3:08
Making it more complex: 5:04
Why This is bad: 5:55
How do we use the state pattern to fix this: 6:51
Finite State Machine Explained: 7:18
State Machine Implementation Explained: 8:25
Implementation Example Begins: 9:48
Creating Current State and Instances: 11:17
Defining Methods: 11:50
Setting Current State and using State Methods: 13:20
Running Update within State: 14:15
Switching States: 14:59
OnCollisionEnter: 16:44
Finishing the Example State Machine: 17:03
Finished Product and Benefits: 17:27
2 views
895
218
7 months ago 00:00:41 1
Coke and Mentos Slicing Prank Gone WRONG!
7 months ago 00:04:12 1
In Hearts Wake - Farewell (video 2024)
7 months ago 00:46:46 1
FOUND MURDER WEAPON after being CONFRONTED by ANGRY NEIGHBOR
7 months ago 00:10:33 1
Принимайте в мае! Средство для здоровья и молодости! Укрепить здоровье и омолодить кожу!
7 months ago 00:05:13 1
Lighthouse Family - High (Official Music Video)
7 months ago 00:03:50 1
AD INFINITUM - Upside Down (Official Video) | Napalm Records
7 months ago 00:00:59 1
Шикарный Весенний Стиль 50+
7 months ago 00:09:44 1
Easy Silk Screening for Pottery - BEST WAY TO SILK SCREEN POTTERY!
7 months ago 01:16:00 1
AI Manifest: The Most Beautiful Space Visualization on the Internet | 4K UHD | 24 FPS
7 months ago 00:03:39 1
Genshin Impact Animation – ONE MORE PULL (Music Video) ■ feat. Black Gryph0n & Rustage
7 months ago 01:51:55 1
1945-1953 From World War to Cold War
7 months ago 00:10:56 1
Cartoon Character Design USING ONLY YOUR MOUSE : Adobe illustrator Tutorial Speed Art 2021.
7 months ago 00:05:31 1
Урок 9. Writing a formal letter. Английский язык 11 класс
7 months ago 00:11:43 1
Secret Chemtrail Pilot Speaks, on Dec 8, 2014
7 months ago 00:00:16 1
Assassins creed mask Steel Soul music tiktok trend
7 months ago 00:04:48 1
How to FIX Desyncs in 5 Minutes
7 months ago 00:01:06 1
Changing ISO Files to use B Raw in resolve 18
7 months ago 00:00:16 1
I and trend mask Triple Death music tiktok
7 months ago 00:06:18 1
OMNIMAR - Forever (Official Video) | darkTunes Music Group
7 months ago 00:04:02 1
How to use can and can’t | English for kids with Novakid
7 months ago 00:06:15 1
After effects “SMOOTH TEXT ANIMATION“
7 months ago 00:04:46 1
Slipknot - Unsainted [OFFICIAL VIDEO]
7 months ago 00:57:00 1
Simon Keye | All The Way Visual March 2024 at Sea Casino | Burgas (Bulgaria)
7 months ago 00:00:00 1
4/4 PORTAL • APRIL 2024 • MANIFEST YOUR DREAMS • MIRACLE FREQUENCY • 528Hz