Edit of asset "Finite Stack Machine" Accepted

Old/Current New/Edit
Title Finite Stack Machine Finite Stack Machine
Description A simple implementation of a variation on a finite state machine that uses a 'pushdown' stack arrangement to handle states.

Attach an instance of the finite_stack_machine.gd class to any entity in your Godot scene. Push new states to the top or bottom of your 'state stack' to control the flow of behavior.

The demo shows of some of the features. I've only done limited testing on the on_start and on_end transitions of states, but so far everything seems to be working. Please make an issue if something isn't working!

Still in an early version with some planned features missing: better input event handling, perhaps hierarchical states, etc.
A simple implementation of a variation on a finite state machine that uses a 'pushdown' stack arrangement to handle states.

Attach an instance of the finite_stack_machine.gd class to any entity in your Godot scene. Push new states to the top or bottom of your 'state stack' to control the flow of behavior.

The demo shows of some of the features. I've only done limited testing on the on_start and on_end transitions of states, but so far everything seems to be working. Please make an issue if something isn't working!

Still in an early version with some planned features missing: better input event handling, perhaps hierarchical states, etc.
Category Scripts Scripts
License MIT MIT
Repository Provider GitLab GitLab
Repository Url https://gitlab.com/reefpirate/finite_stack_machine https://gitlab.com/reefpirate/finite_stack_machine.git
Issues Url https://gitlab.com/reefpirate/finite_stack_machine/issues https://gitlab.com/reefpirate/finite_stack_machine/issues
Godot version Godot 3.0 Godot 3.0
Version String 0.1 0.1
Download Commit 940b4a2625adea0743ce79acf2a721ec4cf48158 940b4a2625adea0743ce79acf2a721ec4cf48158
Download Url (Computed) https://gitlab.com/reefpirate/finite_stack_machine/-/archive/940b4a2625adea0743ce79acf2a721ec4cf48158.zip https://gitlab.com/reefpirate/finite_stack_machine.git/-/archive/940b4a2625adea0743ce79acf2a721ec4cf48158.zip
Icon Url https://i.stack.imgur.com/yb4xP.png
https://i.stack.imgur.com/yb4xP.png