Steering Behavior Library From C++ To As3
- aprile 24th, 2011
- Write comment
Hi all,
i converted a c++ library of steering behaviors to as3. See the page on the blog.
It’s still in beta because I’m testing it to be sure there are no errors. The library is taken from the source code of the book “Programming game ai by example” you can find c++ sources and binaries at http://www.jblearning.com/Catalog/9781556220784/student/ and some excerpt and related talk at http://www.ai-junkie.com/books/index.html my first two little example in as3 are at http://www.imageinaction.net/works/steeringBehavior/flocking.html and http://www.imageinaction.net/works/steeringBehavior/followPath.html (refresh the page to get a new random path)
The library is based on simple behaviors like seek, avoid, interpose, obstacles avoidance, cohesion, alignement etc. that can be combined togheter to get a more complex behavior. by the way as part of it there are some usefull class to perform some geometry, collision detection, vector operation. there is anybody out there that would like to help me testing, improving, optimizing the code? I would like to release it as open source as soon as I ended the tests. By now you can download it on the Steering Behaviors page but remember it’s still beta…
I think that such a library can be a great resource to anyone developing as3 games.
Let me know..