this is a basic template for creating tower defense games. The tower is its own sprite, but it must be duplicated, not cloned, to make more. Damage and fire rate have been added. Monsters automatically spawn and move along the track. Click the tower to deploy, click it again to upgrade. turret automatically goes to the start of the track when re-aiming