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.21k stars 243 forks source link

Going beyond running the tests #27

Closed alex-place closed 9 years ago

alex-place commented 9 years ago

So I really like what where the AI extension stands and would love to try some features out. However it seems to me like there is no documentation beyond the tests on how someone would implement something like say a steering behavior. It's nearly impossible for me to pull working code to demo in a new project from the tests. How would I set up say a simple LookWhereYourGoingTest in a new libgdx project? I'm sorry if I am missing something really obvious just need some help.

davebaol commented 9 years ago

Short answer:

If you have more specific questions I'll be glad to answer. :smile:

davebaol commented 9 years ago

I've just realized you're are one of the guys behind this initiative. I've no time to join the game jam, sorry, but I'll look into the code if you have problems. Just let me know. :wink:

alex-place commented 9 years ago

Ok gonna give it a shot in the morning. Would like to use this with Ashley unless you think thats a bad idea. I'll let you know if I have any problems.

alex-place commented 9 years ago

I figured out implementing Steering behaviors. It's much easier than one would think. Feel free to close this but consider making a quick how to for such things. I would do it myself but I'm in a bit of a time crunch.

davebaol commented 9 years ago

Glad you figured it out.