A web based editor for creating custom missions for dungeon saga board game
gihub page of the webapp: https://lorenzobalducci96.github.io/dungeon-saga-quest-builder/static_page.html
This is the repository for the open-source web application hosted here: https://www.victoriashare.eu/dungeon-saga-quest-builder/
Users can create their own missions, registered users are allowed to upload the missions for the community of dungeon saga. (An email with the PDF will be sent to the administrator)
The application allow to create a new mission or reload a backup project
Is possible to edit all the text-areas, the buttons to the left allow to
- switch between the first and the second page of the mission.
- adjust the zoom level in order to fit the sheet in the screen of to ajust the zoom for the user preferences.
- change dimensions of the map in the second sheet.
- The "FINISH" button allow you to conclude the project and export a PDF or download the backup of the project
- return to menu
In the second page is possible to click on the map to enter the map editing mode
In the map editing mode all the pieces are arranged in the left panel and a drop down list (1) allow you to change pieces groups.
Simply drag a piece from the left to the right for putting it into the map.
For rotating a tile or any other element on the map simply right click with the mouse or double tap on mobile devices.
Is possible to select multiple pieces just by dragging with the mouse for a multiple selection.
Different pieces have different behaviours, see below in the html attributes explaination.
Is possible to asjust the zoom of the map with the + and - top buttons.
When the editing of the map is finished just press return to editor; the edited map will appear in the second sheet.
Use the map zoom buttons in the editor for adjust the map dimension.
The behaviour of the elements in the map editor is defined by their attribute in the HTML page: flippable = [yes or no] define if the element has another side (in case of a tile, there are 2 side, if one side is in the map the corresponding other cannot be put). If is yes, the two pieces must have the same file that ends with A or B like: element-of-side-A.png and element-of-side-B.png snap = [yes or no] If is no the element can be placed anywhere in the map, if is yes the element “snaps” into a square of the grid. single = [yes or no] if is yes the user can put just one in the map (tiles bosses furnitures), if is no multiple elements can be placed in the map (markers, minions). If an element is single the id attribute must be the piece name without .png, id="Boss-Mortibris-human-Necromancer" If an element is not single the id must be piece-name_1 like: id="markers-that-can-appear-multiple-time-in-the-map_1"
Bacause of this, images resources cannot be named with something_X