Improve AI intellect #6
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The enemies are currently super dumb. They kinda just run and bump. Let's give them some additional logic and better detection.
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.