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

Methods to improve AI? #469

Open
eric-ycw opened this issue Feb 4, 2014 · 0 comments
Open

Methods to improve AI? #469

eric-ycw opened this issue Feb 4, 2014 · 0 comments

Comments

@eric-ycw
Copy link
Member

eric-ycw commented Feb 4, 2014

The enemy AI isn't too good now. They get stuck often, don't attack the player and such. Is there a clear method to prevent those easy kills, like jumping onto a box and killing them, with no difficulty at all.

More information:
#464
#344

Update with suggested methods:

  1. Flee - This should always be a last-resort option with other methods do not work to attack the player
  2. Jump - When rat A cannot proceed any further to player B, and B's Y coordinate > A's Y coordinate (player is on a higher area than the rat, e.g. on a box), activate jump, which means add velocity to rat A towards player B to attempt to reach B and attack. This is so that players cannot stand on a foot tall box and fire on enemies that do nothing.
  3. TBA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant