by xomopinok · 2y ago · 0 comments
1) enemy is running away from player && power is about to expire && player is close to enemy.
2) player is getting too close to enemy's respawn point && player is too far from wall opposite to him && player has little or no power.
3) enemy is close to player (<20 units away) && the player and the enemy are facing each other.
A live preview of the algorithm in action is deployed on github[3].
[1]: https://github.com/creme332/pakupaku-ai
[2]: https://github.com/creme332/pakupaku-ai/blob/main/assets/hig...
No comments yet.