Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Dungeon Draw API"

From Roll20 Wiki

Jump to: navigation, search
Line 1: Line 1:
{{Overview
+
 
|author={{user profile|135636|Stephen S.}}
+
|version=3
+
|lastmodified=2015-06-17}}
+
 
==Rectangle and Polygon/Line Tools==
 
==Rectangle and Polygon/Line Tools==
 
[[File:Drawing_Tool.jpg|thumb|right|Circles and freehand not supported.]]
 
[[File:Drawing_Tool.jpg|thumb|right|Circles and freehand not supported.]]

Revision as of 12:32, 17 June 2015

Contents

Rectangle and Polygon/Line Tools

Circles and freehand not supported.

This script leverages the Rectangle and Polygon/Line Tools to create dungeon maps based on a selected set of tiles in the API. The WIKI provides more information on the Drawing Tools and can be found here: Drawing Tools

  • Rectangle are supported.
  • Polygon/Line are supported
  • Circles and freehand not supported.
  • Using shift helps
  • Also use transparent fill, this will help when closing a polygon path and gives a visual confirmation the path has be accepted by the API.


Recommendations: Hold the Shift key while using the Shapes tool and have the grid enabled. This will cause your shape to snap to the grid. Use transparent fill, this will help when close a polygon path and give a visual confirmation the path has be accepted by the API.

Split the Party & Player's Bookmark

Recommend using the party split feature to select the page you wish to edit.
Avoid this!! Easy mistake is you (GM) being a page different from your party split avatar.

This script leverages the "Split the Party" and "Player's Bookmark" to determine the active page for editing.

Its is prefered that controlling GM drag-and-drop the "Player Avatar" to the page they which to map with Dungeon Draw. All changes by the API will be applied to that page.

If the controlling GM has not done this, the Player's Bookmark will act as the active page.

Caution: Easy mistake is you (GM) being a page different from your party split avatar (notice the BLUE border.)

PageToolbar SplitThePartyExample.gif

See Page Toolbar for more information.

Loading the Script

On and on

Updating URLs in the Code

The hard part

Overview

Some info

Water Mark Tile replacement

marketstuff