Improve AI intellect #6

Open
opened 2019-12-05 10:11:13 +01:00 by yeslayla · 1 comment
yeslayla commented 2019-12-05 10:11:13 +01:00 (Migrated from github.com)

The enemies are currently super dumb. They kinda just run and bump. Let's give them some additional logic and better detection.

The enemies are currently super dumb. They kinda just run and bump. Let's give them some additional logic and better detection.
layla added this to the Rework project 2023-12-22 17:15:55 +01:00

Start of new AI system has been started in the Enemy class.
https://gitea.layla.gg/layla/glitch-in-the-system/src/branch/feature/godot4/scripts/v2/enemy.gd

To give smart acting pathing, I think the best way would be to implement a node pathing system for each player object (in case there is ever more that one for some reason 🤭) that uses A* on top of it.

Similar to this: https://youtu.be/RPB6LplBQK8?si=ageYvK1hriBe-CI4

Also might be worthwhile having a toggle for "flying" in which instead it'll just use straight up A* for any enemies that don't care about gravity.

Start of new AI system has been started in the `Enemy` class. https://gitea.layla.gg/layla/glitch-in-the-system/src/branch/feature/godot4/scripts/v2/enemy.gd To give smart acting pathing, I think the best way would be to implement a node pathing system for each player object (in case there is ever more that one for some reason 🤭) that uses A* on top of it. Similar to this: https://youtu.be/RPB6LplBQK8?si=ageYvK1hriBe-CI4 Also might be worthwhile having a toggle for "flying" in which instead it'll just use straight up A* for any enemies that don't care about gravity.
Sign in to join this conversation.
No description provided.