A downloadable asset pack

Download NowName your own price

A Construct 3 behavior, that uses a finite state machine to control the flow of logic for object's

Current Features

  • Trigger logic on-enter/ on-exit from states.
  • Access the objects current / previous state.
  • Setup trigger for specific state transitions.
  • Compare states against list of states.

For Issues & feature suggestions report here: 
Issues · armandoalonso/fsm (github.com)

For documentation & source code:
fsm (github.com)

StatusReleased
CategoryAssets
Rating
Rated 5.0 out of 5 stars
(3 total ratings)
AuthorPiranha305
Tagsbehavior, c3, construct-3, construct3, fsm, state

Download

Download NowName your own price

Click download now to get access to the following files:

piranha305_fsm-2.0.0.0.c3addon 7.1 kB
piranha305_fsm_examples.c3p 69 kB

Development log

Comments

Log in with itch.io to leave a comment.

may we have the permission for do the rpg inventory

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!