Log in with to leave a comment.


I bought this to study the code and understand the state machine better, but I fail to see any constants like "max speed" or "gravity" as i've seen in other codes that doesn't use the state machine.. does the state machine use different variables to change the speed and velocity and so forth? or is it hidden somewhere I just didn't look? or is it all just multiplied and divided by the delta value?

I'm sorry If I got anything wrong, I just started programming in Godot.


Hello friend, in addition to "state machine" this package was made to offer predefined character models. The variables regarding speed and gravity, are within the character, this in turn, shares this data to the states they need.

I don't know if my content is useful (because it's in Spanish) but I have a couple of tutorials on the state machine :).


ok cool! I will look into it, thank you. maybe google chrome will help me translate it well enough for me to read it. thank you!

(2 edits)

Got to say I'm bit dissapointed, because I wanted to see some new take on state machine, but it seems to be more or less taken from GDQuest metroidvania project.
There's still a value of pre-set state machines for those 4 game styles although it feels bit sloppy:
Warped game feel is wonky and walljump looks really weird. I've tried Warped and Guneric scenes and they both use UI inputs instead of Left / Right inputs. Please, use WASD for movement primarily because arrow movement seems cheap and unconvinient.
I'd say tweak at least test game feel to feel right then value for this project will be there.

I will add that tells me about the keyboard, however keep in mind that each new project must configure its keyboard, I use the arrows because they are preset by Godot.  The state machine is a design pattern, it is not necessary to change much because so far this way of accommodating the states meets the objective and is good for saving the developer time, unlike other machines I have analyzed.  I appreciate your criticism, soon this asset will be updated with what you ask me and two new models already for Top-down games


I'm not new to state machines. I'm just looking for different approaches I could improve mine, which is expanded GDQuest's Node based states.

Oh well, I'm sorry to disappoint you bro :/.


No biggie. I'd suggest to tweak the project a bit because value is there, but feels incomplete.