Author Topic: How to get target for a tower defense, finding nearest enemy by distance.  (Read 1898 times)

leon322

  • New Member
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Hello friends, i am trying to make a tower get the nearest enemy from a FlxGroup, the tower itself is in a towergroup.

Is there a way to get a performance-oriented solution?

PRIZZA

  • Member
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile