MENU

Fun & Interesting

State machines and state charts in Godot

Godotneers 84,447 2 years ago
Video Not Working? Fix It Now

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. Links: ------- - State Charts library - https://github.com/derkork/godot-statecharts - Manual - https://github.com/derkork/godot-statecharts/blob/main/manual/manual.md 00:00 Introduction 00:30 Installation of Godot State Charts 01:21 Scene Setup 04:26 Adding the state chart 07:02 Switching States with Transitions 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

Comment