资 源 简 介
You have Pyglet. You"ve got Rabbyt. But who do your sprites go to for advice? Owyl, of course.
PLEASE NOTE: I"ve moved the project to https://github.com/eykd/owyl/
Goals
The goal of Owyl: provide a fast and flexible Behavior Tree framework implemented in python. Owyl trees use nested generators to iterate through your behaviors. The root of the tree always works just like a normal python iterator. If you know how to work with iterators, you know how to work with an Owyl tree. Because Owyl is small and behavior trees are easy to grasp, it"s easy to control and extend your AI behaviors.
Trees as Iterators
Trees as iterators give you total control over how a behavior tree integrates with your code: use a for loop, a list comprehension, a generator expression, or