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

The second component is extended process mechanic, which allows storing complex logic in data structures (as opposed to hard-coding it) and executing it, potentially over multiple steps. It can be used in:

  • feature-rich dialogue systems
  • AI algorithms
  • cutscenes

Such processes can be seen as a more advanced version of timelines.

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.

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.

If you want to ask a question, request additional feature or report a bug, please contact me via “Contact Publisher” option on this very page.

End User Licence Agreement (EULA).

Version 1.0.1. Published November 6, 2016

Created with GameMaker: Studio v1.4.1763

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.


zart r 05 January 2017

Well documented solution!

The code is very well documented and seems to be a pretty stable solution to me.


Alphish (Publisher) 23 November 2016

Thanks for the feedback! I hope you won't encounter many issues when working with the system.

As for the missing umlauts: that's caused by how GameMaker handles fonts. To address that, you will need to go into Fonts >> Demo >> fnt_Demo resource, then change the range of characters to something like 32 to 255 (instead of default 32 to 127). For details, check GameMaker manual (available under F1), in Advanced Use >> Fonts page, "Font Range" section.

I guess I might include some PDF or maybe HTML help in the asset itself for convenience. That might take some time to prepare, though.

Please let me know how the asset works out for you once you get to play around with it, and if you encounter any issues. ^^

Package contents

Loading, please wait

What is the issue?

Back to Top