6523b0c0b5bcaec3b900bdca913ae762209631cb
Import images, videos as backgrounds, all in a drag and drop action. Scene data import, example from Dungeon Alchemist with wall, doors and light information. If only image is imported, the module can attempt to align the grid automatically. This version may contain bugs and issues.
Easy Battlemap for Foundry VTT
This module allows you to quickly create battlemaps in Foundry VTT by simply dragging and dropping a background image and a JSON file containing wall data.
Installation
- In the Foundry VTT setup screen, go to "Add-on Modules" tab
- Click "Install Module"
- Paste the following URL in the "Manifest URL" field:
https://github.com/MyxeliumI/easy-battlemap/releases/latest/download/module.json - Click "Install"
Usage
- Enable the module in your game world
- Navigate to the "Scenes" tab
- You'll see a new "Easy Battlemap Creator" panel
- Drag and drop your background image/video (jpg, png, webm, mp4)
- Drag and drop your JSON file with wall data
- Once both files are loaded, click "Create Battlemap Scene"
JSON Format
The JSON file should contain wall data in the following format:
{
"walls": [
{
"c": [x1, y1, x2, y2],
"door": 0,
"move": 0,
"sense": 0,
"dir": 0,
"ds": 0,
"flags": {}
},
// ... more walls
],
"lights": [
// optional light data
],
"notes": [
// optional note data
],
"tokens": [
// optional token data
],
"drawings": [
// optional drawing data
]
}
For the specific format details, refer to the Foundry VTT REST API Relay documentation.
License
This module is licensed under the MIT License.
Description
Releases
37
Languages
JavaScript
83.7%
CSS
15%
Shell
1.3%