Log inGet started
Package

addTowerDefenseMap.workflow

README.md

addTowerDefenseMap

Add a new map to a tower defense game made with towerDefenseKit, from an idea in plain words to a balanced, playable and dressed scene.

  1. Design: the field size, the goal and the routes as point lists (one lane, a fork or a merge), plus one value for every look and rule.
  2. Build: makes the scene, writes its build.luau with one TD.build call, then (once the map has built) makes it spawn players (the kit's commander camera), and checks the game, the match (MatchFlow on TDMatch, set up from the map's rules), road, spawner and routes are there.
  3. Check: every route ends at the goal and stays on the field, at least 40 build cells lie near a road, a picture of it, and the match flow runs in play (a build break counting down, a wave starting when called, Play again back to the break). The workflow stops here if any of these fails.
  4. Tune: the kit's playtest bot plays the map as a decent and a careless player; difficulty or waves are adjusted (up to four rounds) until the decent player just wins (at most 60 % of the lives left) and the careless one loses.
  5. Dress: road, tower style, enemy look, build-grid look, lives display and wave preview judged in play, and a picture saved to the scene.
  6. Report: the scene, the playtest results, the picture and how to change it.

Start it with zero workflow start --name addTowerDefenseMap (args: idea, the map in your own words; scene, the new scene's name, default newMap; waves, default or custom). It needs towerDefenseKit installed. The same steps by hand are the "Workflow: adding a new map" section of the guide How to make a tower defense game.