The map editor
Make a map from a seed or a blank field: the tools and their keys, the checks, saving and testing it.
Opening it
- From the Maps page (Map editor, or a map’s Copy in the editor / Open in the editor), or play.tinyswordswars.com/editor.
- New asks for a size (Small, 70 × 70; Medium, 100 × 100; Large, 140 × 140) and a base: a seed, to start from its map, or blank, grass everywhere.
- A map keeps only what you changed over its base, and the generator it was made with: a later generator never moves your land.
The tools
| R | River | Drag a river along your path, 1–3 cells wide; Straight (or Shift held) draws one straight reach. |
|---|---|---|
| W | Water | Paint water, or Deep water (no path crosses it, and whoever is thrown in drowns); a sheep it covers is gone. Brush 1–9 ([ ]), or fill. |
| F | Forest | Paint trees. The forest leaves water be unless Over water is ticked. The same brush, or fill. |
| B | Ground | Paint grass or dirt; the eraser gives the base back. The same brush, or fill. |
| D | Ford | Land across water, walked at full speed. |
| G | Gold mine | Lay a mine centred where you click, or remove one. Every mine pays the same and never runs dry. |
| T | Wilds | The wilds’ lairs (Lairs on a map). |
| S | Sheep | Decor that plays nothing. |
| C | Castles | Drag a castle: the map follows it as you drag. It takes a dirt yard where it lands, away from the edge, from the other castle and from any mine, and gives the old one back. Its yard stays clear: no brush puts water or trees in it, and no mine goes in it. |
| P | Provinces | Drag a province’s point, click to split one off, right-click it (or tap it with Merge on) to merge it away; spacing 10–30, and Scatter again. |
| H | Move view | Drag the view; right or middle drag, the arrows and the wheel work with any tool. |
| Z | Whole map | The view eases out to the whole map, clear of the bars; again, back to where you were (also in Move view’s options). |
| L | Grid | Show or hide the cells. |
| M | Mirror | Turn Mirror on or off, as its chip does. |
Undo and redo keep every step, with the usual shortcuts.
The page
- The map is square, so it stands between two panels. On its left, Back and The map: its name, its base and whether it is saved, the Mirror chip and its settings; then Play and Publish. On its right, the options of the tool in hand first, then the checks.
- ✕ hides a panel, and its button over the map shows it again. The right one starts shown; the left one too on a wide screen.
- Over the map, top right: Undo and Redo, the checks (Playable, or how many problems: it shows them in the right panel), your account, the Map menu (New, Open, Import, Export) and Save.
- The tools sit in a bar along the bottom; the tool’s name shows over it a moment when you pick one.
- In the bottom right corner, the minimap (a click there moves the view) and the zoom’s buttons.
The map’s settings
- Mirror (the chip under the map’s name; on at first): every edit is made on the other half too, so the map stays point-symmetric and fair.
- The opening host by each castle: small (8 units: 4 Warriors, 2 Lancers, 2 Archers); standard (14 units: 6 Warriors, 4 Lancers, 4 Archers); large (21 units: 9 Warriors, 6 Lancers, 6 Archers). The game’s own maps open with the standard one.
- Time of year: Auto or one of the twelve; the map says the one it now wears over the tools.
- Its name (up to 40 letters), and Reset to the base.
The checks
The checks panel says what stops the map from being played (a problem) and what only looks wrong (a warning).
- Problems: a castle on water, out of its own province or without clear ground in its yard; fewer than 1 gold mine near a castle; a province with no land; deep water cutting off a castle, a mine or a province; provinces or mines out of bounds (Small: 4–48 provinces, 4–24 mines; Medium: 4–72 provinces, 4–36 mines; Large: 4–120 provinces, 4–48 mines); trees over 50 % of the map; a lair out of place.
- Warnings: a fairness under 80 out of 100 (100 when both halves are the same; less as they differ in land, mines, provinces and the walk to the middle), and lairs that differ between the halves.
- A map may hold at most 48 added mines, 160 province points, 24 sheep and 8 lairs.
Saving and testing
- A guest’s maps are drafts kept in this browser (up to 30). Signed in, maps are saved to your account (up to 50); To my account moves a draft there.
- Export and Import a map as a file.
- Signed in, a playable map’s Play panel saves it and offers Test vs Bot-Easy, Normal or Hard, or a private match on this map with a friend.
- To share it with everyone: publish it.