Skip to content

v24.12.14

Choose a tag to compare

@ninstar ninstar released this 14 Dec 16:10
· 20 commits to main since this release

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