A simple application that allows you to input an image of a dnd map, hide specific tiles, and show them in a second window for your players to view.
TODO
- Allegro 5.2.7
- curlpp
- nlohmann json
- C++17 Standard
Follow the instructions here to install and set up MSYS2 on Windows.
pacman -S mingw-w64-x86_64-allegro
TODO
sudo apt install liballegro5-dev nlohmann-json3-dev libcurlpp-dev
- Download the source, then cd into axe-map-editor.
- If on windows you will need to edit the cmake file to point to where you have allegro installed. By default it looks in C:/libraries/allegro.
- Create a build/ directory and cd into it. Run
cmake ..
to build the program.
In the build folder run:
./axe-map-editor <image-path> <tile-size>
This is a very early version of this program. Do not expect things to always work.
Keybindings (All keybinds are input in the editor window. Some affect the viewer window)
- F1 to open the viewer window.
- Mouse Wheel Up/Down to zoom.
- Middle Mouse drag the editor view.
- W A S D to move the editor view.
- Ctrl+Middle Mouse to set the viewer view.
- Space to show hidden tiles in editor.
- Drag with Left Mouse to show hidden tiles.
- Drag with Right Mouse to hide visible tiles
- Shift+Drag with Left or Right Mouse to edit a rectangle of tiles.
- G shows/hides the grid (Ctrl+G does the same in the viewer).
- Ctrl+Z Undo
- Ctrl+Y Redo
- Ctrl+S Save (Saves file to map-save.mdf)
- Ctrl+L Load (Loads file from map-save.mdf)
- Ctrl+C Resets the view to 0, 0.
- R Resets the view scale.
- Up/Down Arrows scale the view in the viewer window.
- U Sends the tile visibility set in the editor to the viewer window.
Contributors names and contact info
Taurous Contact info here
-
0.1.1-beta
- Map data was being saved to the directory above the executable. Changed to current working directory.
-
0.1.0-beta
- Initial Release
This project is licensed under the GPL-3.0 License - see the LICENSE.md file for details
Inspiration, code snippets, etc.