KOBUGE-Games / project-kumquat

Repo for Kobuge's 1st hackathon game (a tower defense) - name subject to imminent change
GNU General Public License v3.0
48 stars 9 forks source link

Initial tower behaviour #7

Closed akien-mga closed 8 years ago

akien-mga commented 8 years ago

They should fire at a regular interval on an enemy in range.

I think that typically, the tower should start by locating the closest enemy in range, and the lock onto it: it will fire at it as long as it's still in range and not dead, even if it's not the closest enemy anymore. Once it leaves the tower range, we go back to searching for the nearest enemy and lock onto it.

bojidar-bg commented 8 years ago

Done in 3c7756a.