Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 13:29
· 116 commits to main since this release
96a4020
  • Plan delivery for turn-based games. GdPAIAgent emits plan_delivered(result) whenever a plan result is installed, and adds get_current_action() and is_waiting_for_plan().
  • Godot 4.2 and newer. The library is built with godot-rust 0.5 against the Godot 4.2 API, so the addon loads on 4.2 and later (it claimed 4.5); CI tests it on 4.2.
  • Built libraries are no longer in the repository. Install from the release zip GdPlanningAI-X.Y.Z.zip, or build from source with make -C addons/GdPlanningAI/rust build-release.
  • Faster planning. Actions that declare get_effect_spec apply their effects in Rust, snapshots are shared instead of copied, and a plan's first step is no longer simulated twice. GdPAIAgentConfig.max_effect_fallbacks (default 128) caps GDScript effect calls per search.
  • Clearer logs. Malformed spec entries now warn instead of being dropped silently, and the freed-object callback notice moved to debug.
  • Objects on a blackboard are read-only in simulation. Changing one in simulate_effect changes the real object for every NPC; see docs/AUTHORING_GUIDE.md.
  • Example scenes. The 3D examples get a visual pass (heavier on the GPU), and one switch hides every debug label: show_debug_text, the H key or DebugText.set_shown(). It replaces ManyAgentsSpawner3D.hide_debug_labels.