onemore-steer
v1.0.9
Published
a nodejs & browser library for steering behavior in game AI.
Downloads
5
Readme
Steering
Test
- http-server ./
- open http://127.0.0.1:8080/test/index.html in browser
TODO
more behavior
- follow leader ✓
- hide
- avoid wall √
- avoid obstacles
performance
- vector2d √ values => x, y ✓ set(vector) ✓
- tempVector
- proximity
behavior parameters ✓
seek
flee
arrive - arrive tolerance, deceleration radius, time to target speed
pursue - max predict time
evade - max predict time
follow path - arrive tolerance, deceleration radius, time to target speed, node tolerance
wander - wander rate, circle offset, circle raidus
follow leader - follow distance, leader front Radius
interpose - max predict time
alignment - proximity range
seperation - proximity range
reach orientation - deceleration range, orientation tolerance, time to target speed
look where you are going - deceleration range, orientation tolerance, time to target speed
face - deceleration range, orientation tolerance, time to target speed
agent
- side vector
bug
- rotation when it arrives destination √
- follow leader: use leader's velocity angle as orientation when leader is moving
integrate to AIOL
- PACKAGE ✓
- player, monster inherit agent √
npm package
steering √ st.utils st.steering manager st.steering behavior
npm package √ build √
pathfinder √ npm package √ build √