Log inGet started
World

Hold the Line: Tower Defense Kit with Paths, Towers, Waves and a 10-Wave Map

README.md

towerDefenseKit.layouts

The map layouts as data: the field size, the routes enemies walk (lists of control points from an entrance to the goal) and the goal. Six ship: snake (one long winding road), switchbacks (tight hairpins), fork (one road splitting into two lanes and joining again), spiral (inward to a centre goal), merge (two entrances whose roads join) and ring (a road circling an island, then a causeway onto it). Layouts.define(id, { size, routes, goal, island? }) adds your own; get, list, ids read them. Used by towerDefenseKit.api, Game, PathLook and Commander.