Posted January 31, 2025 by Small is Beautiful
Hey! Following questions and feedback from people and some tests on my side, I've fixed a few things and made improvements to the engine. Most notable is the ability to pause state objects individually using their "self_pause" variable or by using the new functions I've added to manage it (see below). These functions can be called directly or in sequences of action using "state_execute_script()".
Here's a list of the changes:
actor object:
projectile object:
state object:
If you have already started working with Super State Engine, you can reimport the whole package into your project of just the objects mentioned above (along with the script asset init_state_object). Be sure to backup your project before reimporting the engine. I noticed that some values in the Variable Definitions of my objects are reinitialized to the default of the parent object (e.g. if I change the spd or hp_max of a specific enemy). So having a backup will at least allow you to have a reference to your custom values if this happen.
Thanks and have fun game deving!