-
Notifications
You must be signed in to change notification settings - Fork 5
This Week in LesserPanda #5
Covering the week of 2016-05-02 to 2016-05-18.
Time goes pretty fast in this week, that I don't even have time working on various issues accounted in LesserPanda. Tons of new features have been added in last few months, so many issues need to be fixed. I am going to add them into issue tracker soon.
Three new behaviors come to LesserPanda this week, that can be quite useful while coding AI logic.
The most complex behavior, the Steering
has landed, come with several
actions that can be combined to create kinds of moving behaviors. For now
you have to manually apply steering forces. If you have any ideas to
improve this feel free to throw me an issue :D
Currently supported actions:
- seek: Moving to a target position but won't slowdown.
- flee: Escaping from a position if gets too close.
- arrive: Arrive to a target, and stop.
-
pursuit: Chasing another
Actor
. -
evade: Escaping from another
Actor
. - wander: Randomly move. There're lots of configs to make it work as expected.
-
interpose: Move to the center of two
Actor
. Useful for tackle balls or other things from players.
This behavior works even with a deeply nested object. Just attach it and it will work as you've expected.
Guess from the name, it will simply move an Actor move around a center point like what the Earth does.
To be able to make it work with a moving point, you have to adjust its
center
property.
No more features will be intruduced recently, since the project needs to be fixed and improved to head to next major stable release.
So if you are interested and willing to help, now comes the great chance :) Maintaining a complex open source project is very time consuming, I've slowdown my own game projects and development of client works to be able to make more progress. Any help is welcomed(including firing new issues).