-
Notifications
You must be signed in to change notification settings - Fork 246
/
CHANGES
90 lines (83 loc) · 6.19 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[1.8.3-SNAPSHOT]
- Updated to libgdx 1.11.0
[1.8.2]
- Updated to libgdx 1.9.8
- API Addition: Allow to use inner classes in btree files
- API Addition: parallel task now supports different child execution strategies (orchestrators)
- API Addition: allow unsupported type parsing for task attributes
- API Change and Addition: Allow use of Pool with Behavior Tree
* Task reset method renamed resetTask to avoid conflicts with Poolable interface.
* Task implements Poolable interface.
* Pool based behavior tree library implementation provided.
[1.8.1]
- Updated to libgdx 1.9.5
- Fix: division by zero in Separation behavior.
- Fix: in FollowFlowField behavior the predicted position was affecting steering.
- Fix: stackoverflow in Sequence with guarded Task.
- API Addition: ability to remove steering behaviors from BlendedSteering.
- API Addition: method to check the registration of an archetype tree.
[1.8.0]
- Updated to libgdx 1.9.1
- API Change and Addition: Pathfinding API
* Added method getIndex to the interface IndexedGraph.
* Removed classes DefaultIndexedGraph and IndexedNode.
- API Change and Addition: Behavior Tree API extended to make it easier to think and design in terms of states, see https://github.com/libgdx/gdx-ai/wiki/Behavior-Trees
* Added ability to guard any task.
* Added branch task DynamicGuardSelector.
* Now the text format supports internal sub-trees that, besides improving reuse and readability, allow you to use composite guards.
* Now the parser is able to report comments, which can be useful for certain tools such as graphical editors.
[1.7.0]
- Updated to libgdx 1.7.1
- API Addition: added GdxAI service locator that reduces coupling with libgdx and allows you to use gdx-ai
out of a libgdx application without having to initialize libgdx environment, so avoiding the waste of resources
and the need of native libraries; see https://github.com/libgdx/gdx-ai/wiki/Initializing-and-Using-gdxAI
- API Change and Addition: Messaging API
* Removed delta time argument from the update method of the MessageDispatcher; the new GdxAI.getTimepiece().getTime() is internally used instead.
* Added return receipt support, see https://github.com/libgdx/gdx-ai/wiki/Message-Handling#return-receipt
* The report method of PendingMessageCallback now takes an additional argument for the return receipt.
- API Change and Addition: State Machine API
* Now the StateMachine interface has a generic type parameter for the state.
* Added owner's getter and setter to the DefaultStateMachine; also, the owner is now optional in constructor.
- API Change and Addition: Behavior tree API revised and improved, see https://github.com/libgdx/gdx-ai/wiki/Behavior-Trees
* Now tasks have a status that is updated each time they run.
* Added enum support in behavior tree files.
* Now parallel task can specify sequence or selector policy.
* Added cancel method for task termination, mainly used by the parallel task.
* Now you can add listeners to the tree in order to be notified when a task has run and a child is added.
* Now task methods setControl, success and fail are final.
* Now method addChild is final and Task's subclasses have to implement addChildToTask.
* Added decorator tasks Repeat and Random.
* Added leaf tasks Failure, Success and Wait.
* Added branch tasks RandomSelector and RandomSequence; removed deterministic attribute from Selector and Sequence.
* Now the UntilFail decorator succeeds when its child fails.
* Added ability to clone tasks through third-party libraries like Kryo.
* Added support for custom distributions in behavior tree files.
* Now LeafTask usage is less error prone thanks to the execute method.
[1.6.0]
- Updated to libgdx 1.7.0
- API Change: now tasks take the blackboard object from the behavior tree they belong to.
- Fix: now the wander rate of the wander steering behavior is expressed in radian per second to make it frame rate independent.
- API Change: now behavior trees support annotations to define attributes and constraints in task classes.
- Fix: now the reach orientation behavior always chooses the shortest rotation angle.
- API Addition: added Formation Motion API, see https://github.com/libgdx/gdx-ai/wiki/Formation-Motion
- API Change: the Steering Behavior API has slightly changed to interact with the new Formation Motion API.
- API Addition: added random distributions to behavior trees.
- API Addition: added shortcut methods to send telegrams without specifying a sender.
- API Addition: added capability to reset behavior trees.
- API Addition: added zero speed threshold to the Limiter interface.
[1.5.0]
- API Change: moved singleton capability of the MessageDispatcher to MessageManager, meaning that you can now use multiple message dispatchers if needed.
- API Addition: added capability to register programmatically created behavior tree archetypes in BehaviorTreeLibrary.
- API Addition: added capability to scan pending telegrams, so they can be saved and subsequently restored on game loading, see https://github.com/libgdx/gdx-ai/wiki/Message-Handling#saving-and-restoring-pending-messages
- API Addition: added pathfinding and path smoothing, see https://github.com/libgdx/gdx-ai/wiki/Pathfinding
- API Addition: added scheduling API supporting task time slicing over several frames, see https://github.com/libgdx/gdx-ai/wiki/Scheduling
- API Change: moved raycast classes to the common package com.badlogic.gdx.ai.utils
- API Addition: added collides method to RaycastCollisionDetector.
- API Change: now Ray has start and end points instead of an origin and a direction.
[1.4.0]
- API Addition: added behaviors trees (thanks implicit-invocation), see https://github.com/libgdx/gdx-ai/wiki/Behavior-Trees
- API Addition: added steering behaviors, see https://github.com/libgdx/gdx-ai/wiki/Steering-Behaviors
- API Addition: added support for telegram providers, see https://github.com/libgdx/gdx-ai/wiki/Message-Handling#telegram-providers
- API Change: MessageDispatcher's dispatchDelayedMessages renamed to update which now takes deltaTime as input to properly support game pause; removed time granularity.
- API Change: renamed Agent to Telegraph and moved it to msg package. Also, removed the update method.
- API Addition: now StateMachine implements Telegraph.