Standalone local editor for public/api/data/map.json.
- Open
tools/map-editor/index.htmllocally. - Click
Importand choosepublic/api/data/map.json. - Edit roads, blocked terrain, shrines, teleports, spawn, or demon spots. Select a demon spot to edit its threat, key demon, and team members.
- Use
Displayto switch between the game-style preview and the editor schematic. - Click
Save Draftto store a temporary draft in this browser. - Click
Exportto download the current map asmap.json. - Replace
public/api/data/map.jsonwith the exported file when you are ready.
Save Draft uses browser local storage only. It does not write to the repo and does not call the website API.
The game preview mirrors the /world map styling with procedural terrain, roads, blocked terrain, shrines, portals, spawn, and demon spots. Demon spot portraits load from public/app/images/demons/map when this editor is used inside the website repo; otherwise the editor falls back to rarity-colored markers.