Tower Defense Twitch Overlay
The whole chat defends the reactor together, wave after wave.
A chat-driven co-op tower defense: enemies travel along fixed but per-wave reshuffled paths to the reactor in the center, and up to ten viewers build towers from a shared gold pool to stop them. With a coordinate grid so everyone sees exactly where they're placing.
Set up in your browser, about three minutes. Easiest in Edge or Chrome.
!join
What this overlay does
// In short
The gold belongs to everyone, so every tower gets an argument. Enemies stream along fixed, orthogonal paths toward a shared reactor in the center of the arena, gathered through a funnel just before it. The paths stay the same for one round but are reshuffled every wave, and their number grows with the wave, so no two rounds look the same. Up to ten viewers share a gold pool and build their weapon towers on the grid squares with !set. A coordinate grid with letters and numbers along the edge shows everyone exactly where they're placing. There are six tower types with three tiers each, from the cheap pistol through MG, shotgun and frost to rocket and tesla with chain lightning. Slain enemies pay gold back into the pool, which the team uses to fund the next line of defense. Every wave gets bigger, faster and tougher, and every fifth wave sends a boss. Between waves a build phase runs with a large countdown bar, in which the paths of the coming wave are already visible so the team can plan deliberately. A build board shows the exact upgrade command, the cost and who built it per tower. If the reactor HP drops to zero, the round is over. Every build and every refusal shows with the name in a line under the field, even without a bot, so nobody wonders why their tower never came. You run it from a director panel in an OBS dock: start a wave, pause, extend the build time, remove players, gold for the team. On request a free area for your camera stays open on the right. Runs with internal gold with no bot at all and survives any OBS reload. With a bot, the overlay can pay a reward at the end of every run: everyone who built gets points for every wave held, and the director panel shows what was booked.
Features
// What's inside
How a round works
// Step by step
Chat commands
// What your community types
| Command | Who | Effect |
|---|---|---|
!join | Viewer | Join the team, opens the lobby if no round is running |
!set <weapon> <field> | Viewer | Build a tower, for example !set pt b3. Codes: pt pistol, sg shotgun, mg, rk rocket, fr frost, ts tesla |
!up <field> | Viewer | Upgrade the tower on the field, up to tier 3 (!upgrade works too) |
!sell <field> | Viewer | Sell the tower, returns 60 percent of the investment |
!start | Mod | Skip the lobby or build countdown and start the wave immediately |
!skip | Mod | Cut the build countdown short and start the next wave |
!end | Mod | Abort the round and reset to idle, without a final score or reward |
Leaderboard
// The top channels
Nobody here yet. The first channel to finish a ranked run goes straight to the top.
Key settings
// What you tweak in config.js
maxPlayers- Maximum number of players in the team (default 10)
gridCols / gridRows- Size of the arena in fields (default 15 x 8)
startGold- Starting gold of the shared pool
coreHp- Hit points of the reactor
buildTimeSec- Length of the build phase between waves in seconds
lobbyCountdownSec- Countdown of the lobby before wave 1, 0 waits for the mod
maxRoutes- Upper limit of simultaneous paths, grows with the wave
showRoutes- Show the paths and entry portals
arenaScale / uiScale- Size of the arena and the control interface
cameraCorner- Free area for the camera, top or bottom right
enableCost / rewardPerWave- Reward through your bot: points per wave held for everyone who built (off by default, 10 points)
Screenshots
// From the overlay