PlaceholderGames / 2016-InfiniteReplayGame

A 2D post-apocalyptic run and gun game with a significant resource management element.
0 stars 0 forks source link

Create the enemy AI #3

Closed WilliamAkins closed 7 years ago

WilliamAkins commented 7 years ago

Make the enemies become attracted towards the player and try to attack them.

Do this for both melee and ranged enemies. See the game design document (page 5) for more information.

Due: 20th October 2016.

HopkinsJ commented 7 years ago

Alright, shall do.

HopkinsJ commented 7 years ago

Making some progress, Enemy AI can move.

HopkinsJ commented 7 years ago

Enemy mobility added. Still needs fine-tuning, will work on collisions next.

HopkinsJ commented 7 years ago

Making progress with the collisions. Added Health and Damage to the enemy, player and weapon.

HopkinsJ commented 7 years ago

Bullet does collide with the enemy actor, however, the bullet only pushes the actor, instead of damaging actor. I will continue working around this issue.

HopkinsJ commented 7 years ago

This morning I should be getting collisions finally done, then I'll create 8 more enemy actors for the actual enemies and not just a test enemy

HopkinsJ commented 7 years ago

When an enemy collides with the player, the player dies and the game resets.

HopkinsJ commented 7 years ago

Added player health and enemy damage.

WilliamAkins commented 7 years ago

I helped James, solve a few bugs that were related to the player taking damage from the enemy. The enemy would not damage the player and then the game would crash. This has now been fixed.

HopkinsJ commented 7 years ago

There was an issue that would let the enemy kill the player even if the player wasn't colliding with the enemy.

HopkinsJ commented 7 years ago

With Will's help, I fixed the problem.

HopkinsJ commented 7 years ago

Added one more enemy type

HopkinsJ commented 7 years ago

There's an issue where the enemies will ignore the collisions for the map

HopkinsJ commented 7 years ago

Enemy AI has been created, I will create new issues if I find any.