UQdeco2800 / 2022-studio-1

MIT License
4 stars 0 forks source link

Melee Enemy Pathfinding #108

Open MichelleAsWell opened 2 years ago

MichelleAsWell commented 2 years ago

Description

Task: Melee Enemy Pathfinding. Feature: Melee Enemy Improvements

Melee Enemies should attack the crystal in the centre of the map. They should move towards the enemy, stop when they encounter obstacles and, if the obstacle is not destroyable, should attempt to find their way around it. Enemies should appear to face the direction they are moving.

Dependencies

Milestones

List of steps that need to be completed for this task.

Completion Deadline: Sep. 12

Extras (optional)

Documentation

Member

MichelleAsWell commented 2 years ago

Note that a quick conversation with team 7 today (studio session 7/9/22) confirmed that all buildings will be attackable & destroyable by enemies, which will simplify the algorithm - less avoidance required

MichelleAsWell commented 2 years ago

I went a little overboard with this one and tried to implement a repeated attack task, which has caused a lot of problems & wasted a fair amount of time. Note that this (having melee enemies attack more than once) might be worth implementing for the next sprint