libgdx / gdx-ai

Artificial Intelligence framework for games based on libGDX or not. Features: Steering Behaviors, Formation Motion, Pathfinding, Behavior Trees and Finite State Machines
Apache License 2.0
1.2k stars 242 forks source link

Parallel task now supports different child execution strategies #93

Closed tomcashman closed 7 years ago

tomcashman commented 7 years ago

Hi all,

I've implemented an additional execution strategy for child tasks of the Parallel task.

I've set the default to the Resume strategy to maintain compatibility for everyone. I've also added until tests for the different combinations of strategy + policy.

Comments and feedback welcome :)

tomcashman commented 7 years ago

I'll add a demo now.

Do you want me to squash the commits into a single commit before merging?

davebaol commented 7 years ago

I'll add a demo now.

Great! Thanks a lot

Do you want me to squash the commits into a single commit before merging?

You don't have to

tomcashman commented 7 years ago

Demo added :)

davebaol commented 7 years ago

Nice stuff, thanks. 👍

davebaol commented 7 years ago

@tomcashman BTW can you update Parallel wiki, please?

tomcashman commented 7 years ago

Yup I can update this evening.

On Sun, Jun 18, 2017 at 10:16 PM, davebaol notifications@github.com wrote:

@tomcashman https://github.com/tomcashman BTW can you update Parallel wiki https://github.com/libgdx/gdx-ai/wiki/Behavior-Trees#parallel, please?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/libgdx/gdx-ai/pull/93#issuecomment-309300212, or mute the thread https://github.com/notifications/unsubscribe-auth/ABqiDMXzVu0WtwXQjmTJXMwguQ6K4Wj8ks5sFYWHgaJpZM4N80E5 .

--

Thomas Cashman @tom_cashman https://twitter.com/tom_cashman https://tomcashman.xyz