Stack Flow System is a collection of scripts and objects for fine-grained game flow control. It comes with two major components.
First component is the centralised stack flow mechanic, which allows easily adding new controls while blocking interaction with the parent control. It can be used in:
- modal dialogs (such as pop-up messages or yes/no dialogs)
- nested menus (when the child menu is accessed, the parent menu is disabled)
- pausing system (the pause control disables the ingame control)
- old Windows parodies
- feature-rich dialogue systems
- AI algorithms
- cutscenes
The asset contains two parts - the core logic and a demo to show the system working. To import the core components, please import contents of the Marketplace folder from Scripts and Objects resource trees, while ignoring Demo folder. If you want to try out the demo and see example usage of the system, please import the entirety of the asset, preferably to an empty project.
Check the included guide to learn how to use the stack flow system correctly. Taking a careful look at the demo and function comments is recommended, too.
Stack Flow System does not require or include any other package; it's written in pure GML. The functions have been tested for Windows and HTML5 targets, and are expected to work properly there. Other exports should work, too, but it hasn't been confirmed.
Screenshots from the demo:
Last edited: