Description

Hello Godotneers! With the Godot State Charts library you can easily create complex behaviour in your game with very little code. In this video I’m giving you an overview on the features and how to use them.

My Notes

00:00 Introduction

00:30 Installation of Godot State Charts

  • Download “Godot State Charts” addon
  • then activate in in Project Settings

01:21 Scene Setup

04:26 Adding the state chart

  • 04:24: Add the StateChart node
  • 04:56: Add CompoundState child

07:02 Switching States with Transitions

  • 06:53: Add a transition to a state

08:24 Using the state charts debugger

11:12 Running code during a state

13:44 Running code when entering a state

14:31 Delayed transitions

15:38 Using parallel states

18:48 Running transitions conditionally

21:03 Immediate transitions

23:26 Conclusion

Transcript