Ever wondered how you can vastly improve your game code? So did I before I started using State Machines, and now I use them all the time! In this video, I will explain to you how to create a very simple state machine design and how to implement it in Godot! If you work in other game engines like Unity or Unreal, I assure you, GDScript is easy to understand, and I'm sure you can translate the code to your language of choice!
Learn how to apply this state machine to a more advanced Character Controller:
• Godot Tutorial 2D - Programming Silksong M...
ENUMS: https://docs.godotengine.org/en/4.4/t...
MATCH:
https://docs.godotengine.org/en/4.4/t...
Godot version: 4.5
Here to teach gamedev and help you make your dream game come to life!
Discord: / discord
Itch: https://icyengine.itch.io/
Contact: [email protected]
-----------------------------------------
🕒 TIMESTAMPS
00:00 - Intro
01:42 - Designing A State Machine
04:07 - Basic State Machine In Code
10:52 - Adding New States
12:35 - It Really Is That Simple...