imjp94 / gd-YAFSM

Yet Another Finite State Machine for godot
MIT License
534 stars 25 forks source link

Port the library to Godot 4.0 #46

Open adamscott opened 2 years ago

adamscott commented 2 years ago

Efforts should be made to port the library to Godot 4.0.

Godot 4.0 brings many features, but a lot of breaking changes. Even the editor itself is in alpha, so stability is not even guaranteed.

adamscott commented 2 years ago

I made some progress. https://github.com/adamscott/gd-YAFSM/tree/port-4.0

There's still issues still, like duplicating states, but it does not crash and burn. For now.

A master build is needed as some breaking changes were introduced since last alpha 4. All controls rect_ properties were renamed to remove the prefix.

imjp94 commented 2 years ago

Thank you! Feel free to open a pull request for your works, so it can be tested or even contributed by others.

farfalk commented 2 years ago

Hi everyone, I opened a (hopefully) fully functional g4 port based on #47 -> https://github.com/imjp94/gd-YAFSM/pull/50

Feel free to check it out. Let me know if it's best to merge it in #47, close it and discuss all of it there, or what else, I'm at your complete disposal :)