this is a simple and versatile state machine example i've been using for a while. it uses a single script to handle state changes. state code is kept on the instance's script instead of having a node to hold them. i feel like this approach makes things a lot easier for me, and maybe for you too. download it for free and check it out! :)

* compatible with godot 4.3+

Published 20 hours ago
StatusReleased
CategoryAssets
Authorlotovik
Made withGodot
TagsAsset Pack, Godot, state-machine, Tutorial
Average sessionA few seconds
InputsMouse, Touchscreen

Download

Download NowName your own price

Click download now to get access to the following files:

state_machine_by_lotovik.zip 11 MB

Leave a comment

Log in with itch.io to leave a comment.