Tower Defense template project

Hello everyone!

I’ve been working on tower defense game and realised that it would be cool idea to port my project as template so everyone would be able to use!


Project is OOP and Resource based.

There are currently two turret types (but can easily be added more):

  • projectile_turret.tscn (Projectile Turret)
  • ray_turret.tscn (Ray or Laser Turret)

Each turret inherits turret.tscn (Turret class).
New turrets can be added easily by inheriting the turret.tscn scene. And new turret classes with custom logic of shooting can be created easily by inheriting turret.gd class.

Custom shooting logic for classes that inherit base class Turret is contained within attack_inherited() function.
Therefore, adding new custom turrets does not require you to re-write whole codebase!

More information can be found in the documentation!


Here’s small video preview:


Here’s GitHub repo link: Link

MIT License

Template project does not have pre-made assets. That’s why every element is made of colorful rectangles.

Bump (Sorry, for bump in advance if it was not worth it)