Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

I don't know GameMaker, so I'm not sure if this will be of any help. When we did a tower defense game, we had each tower store an array of enemies that were in range, updating as they entered and exited. When firing, or each frame, the tower would loop through the array and pick the best target based on the stat that was chosen for targeting.