As my first project I'm working on a tower defence game. The project is somewhere near 60% finished, including particles and all.
But I got stuck at coding the enemies and towers. I need an invisible circle that can be used to detect collision. If the enemy is in this circle (the circle is the range of the tower), the tower should start shooting. I also should be able to adjust the circle to the range of every tower, which can be upgraded. I already searched on some sites but I can't find a way to do this.
Can someone give me an example on how to do this?