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
Get Super State Engine for Game Maker
Super State Engine for Game Maker
Status | Released |
Category | Tool |
Author | Small is Beautiful |
Genre | Platformer |
Tags | Game engine, GameMaker, Tutorial |
More posts
- Updated demos with 1.0.13 days ago
- Super State Engine 1.0.1 - Some bug fixes.5 days ago
Leave a comment
Log in with itch.io to leave a comment.