# nightshade-editor
Interactive map editor for the [nightshade](https://github.com/matthewjberger/nightshade) game engine. A desktop app for building, arranging, and saving `.nsmap` scenes that nightshade games load at runtime.
## Install
```sh
cargo install nightshade-editor
nightshade-editor
```
The first build downloads the editor web bundle for the matching release, so installing needs network access.
## What it does
Place and arrange greybox geometry, lights, and props in a 3D viewport, tune materials and the environment, and save scenes to the engine's `.nsmap` format.
It also ships an optional in-process [MCP](https://modelcontextprotocol.io) endpoint so an agent can drive the editor over HTTP. The bridge is compiled in by default but stays off until you enable it from the View menu or pass `--mcp`.
## License
Dual-licensed under either of [MIT](https://github.com/matthewjberger/nightshade/blob/main/LICENSE-MIT) or [Apache-2.0](https://github.com/matthewjberger/nightshade/blob/main/LICENSE-APACHE), at your option.