Comments

Log in with itch.io to leave a comment.

BIG issue --- when save game and load ... FSM lost current and pravious state... its bug ? or what ... please Help 

I think you need to manage the save and load yourself for now, i will look into integrating it into the current save load system? there should be an expression to get state as JSON, you could save that to local storage. are you using the default save behavior in construct?

(1 edit)

Yes, I used the built-in save/load construct. The bug is that if an object is created during the game... after loading the game from the save, the FSM (Finite State Machine) resets and does not remember the values of the current/previous state.

But if the objects are created at the beginning, then the FSM works correctly.

Can you please attach an example for the stable version of Construct?

added fsm_example for v350

will remove it when next stable release comes out 

Thank you!