Hi
We are high school students working on a final project for our course.
We are making a top down shooter type game using pygame (its kind of like boxhead), and have made made all of our game except for the ai.
We really need some help with this, so if any one has any ideas on how we could go about making ai it would really help.
Somethings we would like to incorporate in our AI are:
-if there is no wall between and enemy the enemy shoots at the player
-if the player is far enough from the enemy AND their is no wall between them, then the enemy moves towards the player in order to get in range of him.
-if there IS a wall between the player and enemy, the enemy doesn't shoot or move.
Everything in our game so far (characters,bullets,walls, ect...) are made using sprites for collision.
PS we asked our teacher if we were allowed to ask about this on the forums and he said it was alright, since he didn't have much experience with ai in this type of game.
Thanks