A downloadable tool

Buy Now$9.00 USD or more

TOWER DEFENSE TOOLKIT

A drop-in wave, pathing, and targeting engine for any JS-based

tower defense game.

Handles the three systems every TD game needs: enemies spawning

in scaling waves, path-following movement, and tower targeting

with three built-in priority modes (nearest, strongest,

first-in-path). No economy, no currency, no specific tower or

enemy roster — bring your own art, balance numbers, and game

loop.

Originally extracted from a shipped tower defense game's core

engine.

WHY THIS ONE

Wave scaling and targeting logic are easy to get wrong — enemies

that don't ramp up smoothly, towers that pick bad targets, path

following that stutters. This module handles all three cleanly

so you can go straight to designing towers and levels.

FEATURES

- Zero dependencies — single UMD module

- Engine-agnostic — Phaser, PixiJS, Three.js, canvas, or custom

- Configurable wave count, spawn rate, and difficulty curve

- Three targeting modes: nearest, strongest, first-in-path

- Range and cooldown/fire-rate handling built in

- Interactive HTML demo with live wave/targeting visualization

WHAT'S INCLUDED

- core-td.js — the engine module

- demo.html — live visual demo, three towers running different

  targeting modes

- README.md — usage guide, full config reference

- MIT license — free to use in commercial projects

Purchase

Buy Now$9.00 USD or more

In order to download this tool you must purchase it at or above the minimum price of $9 USD. You will get access to the following files:

tower-defense-toolkit.zip 183 kB

Leave a comment

Log in with itch.io to leave a comment.