Skip to content

Releases: ninstar/Godot-StateMachineNodes

v25.03.05

Choose a tag to compare

@ninstar ninstar released this 05 Mar 07:43
  • Updated to Godot 4.4
  • Added script UIDs
  • Added static type to __state_table Dictionary

Full Changelog: 24.12.31...25.03.05

v24.12.31

Choose a tag to compare

@ninstar ninstar released this 31 Dec 14:50

Full Changelog: 24.12.22...24.12.31

  • Implement call_* methods for manual processing of StateNodes
    • StateMachine.call_process
    • StateMachine.call_physics_process
    • StateMachine.call_input
    • StateMachine.call_shortcut_input
    • StateMachine.call_unhandled_input
    • StateMachine.call_unhandled_key_input

Restores the optional behaviour of previous versions, this can be set via StateMachine.auto_process.

v24.12.22-rev2

Choose a tag to compare

@ninstar ninstar released this 23 Dec 19:02
  • Fixed StateNode.auto_set_processes not taking effect.

v24.12.22

Choose a tag to compare

@ninstar ninstar released this 23 Dec 03:17

Full Changelog: 24.12.14...24.12.22

  • Fixed StateNode__is_current not being set
  • Added additional checks and warnings to local methods in the StateNode class
  • Added missing StringName literals to the documentation

v24.12.14

Choose a tag to compare

@ninstar ninstar released this 14 Dec 16:10

Full Changelog: 24.06.05-rev2...24.12.14

  • Removed StateNode _process_state() and _physics_process_state() methods, the virtual methods _process() and _physics_process() from the Node class should be used instead.
    • The auto-processing feature is now StateNode specific. The StateMachine will automatically disable/enable overridden process methods during state transitions on StateNodes that have auto_set_process set to true (Default).
  • Added exit_state() method to StateMachine and StateNodes
  • Added optional state_data: Dictionary parameter to all state transition methods and signals.
  • State names now use StringNames instead of regular strings.
  • Renamed the following properties and methods:
    • change_state() > enter_state()
    • get_target() > get_common_node()
    • history_limit > history_max_size
    • previous_state > old_state
    • next_state > new_state
    • enter_trans > enter_transition
    • eixt_trans > exit_transition
    • signal_trans > signal_transition

v24.06.05-rev2

Choose a tag to compare

@ninstar ninstar released this 19 Jun 06:11

Full Changelog: 24.06.05...24.06.05-rev2

Note

This revision only fixes an issue with the example scene, no changes have been made to the add-on code since the previous release.

v24.06.05

Choose a tag to compare

@ninstar ninstar released this 05 Jun 16:38

Full Changelog: 24.04.22...24.06.05

  • Added extra functions for changing states directly from StateNodes.
  • Added full scene path to error log during state transition.
  • Added warnings about invalid StateMachines.
  • Updated log messages.

v24.04.22

Choose a tag to compare

@ninstar ninstar released this 22 Apr 15:57

Full Changelog: 24.04.16...24.04.22

  • Allow re-entering states.
  • Added helper method for re-entering states. (reenter_state)
  • Fixed 'state_entered' signal being called on the previous state instead of the new one.

v24.04.16

Choose a tag to compare

@ninstar ninstar released this 16 Apr 20:19

Full Changelog: 24.04.11...24.04.16

  • Track StateNodes being renamed at runtime
  • Fixed broken references in doc comments
  • Added a better example of state transitions
  • Added custom remaps (example scene)

v24.04.11

Choose a tag to compare

@ninstar ninstar released this 11 Apr 09:55

Full Changelog: 24.03.13...24.04.11

  • Updated .gitattributes to ignore unnecessary files in the archive
  • Added relevant information about overriding methods
  • Renamed a few methods for consistency
  • Moved custom process methods to the notification virtual method of the StateMachine
  • Removed input methods from StateMachine
  • Added "state_entered" and "state_exited" signals to StateNodes
  • Increased maximum history size from 255 to 1024