Programming a BETTER state machine

Published: 05 October 2023
on channel: iHeartGameDev
77,330
2.6k

Take your programming skills to the next level and learn how to build a better state machine in this brand new tutorial and break down!

This tutorial explains how we can create a reusable state machine in C# by implement abstract classes and generics! It also breaks down core pieces of any state machine with helpful visuals and explanations.

This video is also a continuation of the procedural animation and environment interaction series on the channel. We'll utilize these two abstract classes when building out the environment interaction state machine!

SUPPORT THE CHANNEL AND GET EXCLUSIVE PERKS:
💛   / iheartgamedev   (Project Files Available)
❤️ https://www.youtube.com/iHeartGameDev...

WANT MORE?
Interested in learning more about animating characters in Unity? Check out my growing series of tutorials:
✅    • Programming For Production  
✦ Like the vid? Please consider Subscribing!
https://bit.ly/2YdIb6j
✦ Missed out on the last episode?
   • How to Move Characters in Unity 3D: A...  

SOCIAL:
✦ Discord
  / discord  
✦ Twitter
  / iheartgamedev  

►TIMESTAMPS:
Intro: 0:00
The Problem: 0:10
Setup: 0:34
BaseState: 0:45
Generics Explained: 1:32
BaseState Continued: 2:26
State Manager Implementation: 2:49
Why this is awesome: 8:48
Question to the community: 9:18

#unity3d #designpatterns #gamedev


On this page of the site you can watch the video online Programming a BETTER state machine with a duration of hours minute second in good quality, which was uploaded by the user iHeartGameDev 05 October 2023, share the link with friends and acquaintances, this video has already been watched 77,330 times on youtube and it was liked by 2.6 thousand viewers. Enjoy your viewing!