doctorspoof / SpaceShooter

1 stars 0 forks source link

Capital Ship Targetting Upgrade #10

Closed doctorspoof closed 10 years ago

doctorspoof commented 10 years ago

Improve cship shooting, disallow it from using multiple turrets on one target.

Gunshin commented 10 years ago

Added turrets only getting single targets from the CShip. Seems to be some dodgyness with turrets discarding their targets and picking a new one which makes them all continuously swap between targets. I disabled some of the targetting logic, mainly code which looked as if it tried to get the closest enemy even if it already had one in range. May have to rework the targetting.

Gunshin commented 10 years ago

Fixed wonkiness as of https://github.com/doctorspoof/SpaceShooter/commit/550eecabab88874a1dee7c278dc5c88bfaa836db