Skip to content

9.4.0

Latest
Compare
Choose a tag to compare
@bitwes bitwes released this 11 Jun 16:37
· 8 commits to main since this release
ca6cf20

9.4.0

Potentially Breaking Changes

  • The deprecated wait_frames and the new wait_idle_frames, wait_physics_frames now count frames when the SceneTree.process_frame and SceneTree.physics_frame signals are emitted. This may cause some of your awaits to wait a frame too long/short. This approach is more reliable as it occurs before the _process or _physics_process is called on anything in the tree. This means that tree order will not matter and all objects will have finished _process/_physics_process by the time the await ends.

Features

  • Utilized the adapted Godot tools that generate HTML from code comments, moving some documentation to code comments. This makes more documentation easily accessible from the editor and cuts down on some duplicate documentation.
  • wait_idle_frames added. This counts frames idle/process frames instead of _physics_process. wait_frames has been renamed (deprecated) to wait_physics_frames.
  • wait_while added. This waits while a Callable returns true.
  • New class_names:
    • GutInputFactory for res://addons/gut/gut_input_factory.gd static class.
  • Signal related methods now accept a reference to a signal as well as an object/signal name: get_signal_emit_count, assert_connected, assert_not_connected, assert_signal_emitted, assert_signal_not_emitted, assert_signal_emitted_with_parameters, assert_signal_emit_count, get_signal_parameters.

Deprecations

  • wait_frames has been deprecated in lieu of the more specific wait_physics_frames and wait_idle_frames.

Changelog

New Contributors

Full Changelog: 9.3.1...v9.4.0