Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enemies occasionally path through towers #12

Open
rparrett opened this issue Jul 10, 2024 · 0 comments
Open

Enemies occasionally path through towers #12

rparrett opened this issue Jul 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rparrett
Copy link
Owner

Mechanism of bug:

  • Enemy is spawned and finds a path to a target home
  • Player builds a tower in their intended path
  • Enemy walks right through it

Enemies should check if the next tile is walkable before moving there. If not, they should

  • Try to find a new path to the current target
  • If that fails, find a new target?
  • I don't really know what should happen if that fails.
@rparrett rparrett added the bug Something isn't working label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant