Super State Engine 1.0.2


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:

  • Change condition for displaying "flash_fx" sprite to "invincible_timer > 0" instead of state being STATES.HURT. Makes it more versatile to use.
  • Added an optional "vertical" parameter to "hit_wall()" to change to check if a wall has been hit vertically instead of horizontally.
  • Made changes to "hit_ledge()", "top" value must now be declared before custom "dist" value.
  • Added a "hit_ledge_vert()" method to check if  ledge is encountered vertically. To be used by actors that walk on walls.

projectile object:

  • Figured a better way of handling collisions. Should be a bit more optimized.

state object:

  • Added a "self_pause" value so any state object can be paused individually or as a group. Added some functions to manage it (pause_target(), unpause_target() and toggle_pause_target()).
  • Added an "always_active" Boolean to variable definitions. When false, the object will not do his steps if he is out of view of the camera.

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!

Files

Super State Engine - Demo Adventure.yyz 451 kB
1 day ago
Super State Engine - Demo Platformer.yyz 585 kB
1 day ago
Super State Engine - Empty Template.yyz 487 kB
1 day ago
SuperStateEngine_v102.yymps 478 kB
1 day ago

Get Super State Engine for Game Maker

Buy Now
On Sale!
50% Off
$25.00 $12.50 USD or more

Leave a comment

Log in with itch.io to leave a comment.