3.0.0


New Additions

- Triggered transitions!

- Added new methods: .add_transition(), .add_wildcard_transition(), .add_reflexive_transition(), .transition_exists(), .trigger().

- Added new macros: SNOWSTATE_WILDCARD_TRANSITION_NAME, SNOWSTATE_REFLEXIVE_TRANSITION_NAME.


Important Change(s)

- .get_time() and .set_time() has the optional argument "seconds" set to "true" by default. This is parallel to GML's get_timer().

- Deprecated history methods have been removed.


Improvement(s)

- Events now accept arguments! This means we can do:

fsm.event("This", "is", "cool!");

- Fixed an issue with .inherit().

- Added JSDoc to all the methods.


Note

Please refer to the Documentation for the updated API.

Files

SnowState v3.0.0 Demo.yyz 391 kB
Nov 15, 2021
SnowState 3.0.0.yymps 11 kB
Nov 15, 2021

Get SnowState - Finite State Machine for GameMaker

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.