diff --git a/src/components/Markdown.js b/src/components/Markdown.js
index c60b7bd..99604dc 100644
--- a/src/components/Markdown.js
+++ b/src/components/Markdown.js
@@ -27,6 +27,20 @@ function Heading({ level, ...props }) {
}
function Image(props) {
+ if (props.src.endsWith(".mp4")) {
+ return (
+
+ );
+ }
+
return ;
}
@@ -37,7 +51,7 @@ function ListItem(props) {
function Code({ children, value }) {
const variant = value.startsWith("Warning:") ? "warning" : "";
return (
-
+
{children}
);
diff --git a/src/docs/assets/CustomMaps.mp4 b/src/docs/assets/CustomMaps.mp4
new file mode 100644
index 0000000..be1ce95
Binary files /dev/null and b/src/docs/assets/CustomMaps.mp4 differ
diff --git a/src/docs/assets/CustomMapsAdvanced.jpg b/src/docs/assets/CustomMapsAdvanced.jpg
new file mode 100644
index 0000000..0ce3d33
Binary files /dev/null and b/src/docs/assets/CustomMapsAdvanced.jpg differ
diff --git a/src/docs/assets/DefaultMaps.mp4 b/src/docs/assets/DefaultMaps.mp4
new file mode 100644
index 0000000..9f27f15
Binary files /dev/null and b/src/docs/assets/DefaultMaps.mp4 differ
diff --git a/src/docs/assets/ResetingAndRemovingMaps.mp4 b/src/docs/assets/ResetingAndRemovingMaps.mp4
new file mode 100644
index 0000000..5f18363
Binary files /dev/null and b/src/docs/assets/ResetingAndRemovingMaps.mp4 differ
diff --git a/src/docs/assets/UsingDrawing.mp4 b/src/docs/assets/UsingDrawing.mp4
new file mode 100644
index 0000000..8d94efb
Binary files /dev/null and b/src/docs/assets/UsingDrawing.mp4 differ
diff --git a/src/docs/assets/index.js b/src/docs/assets/index.js
index c7048b0..1b52972 100644
--- a/src/docs/assets/index.js
+++ b/src/docs/assets/index.js
@@ -1,5 +1,15 @@
import audioSharingFaq from "./AudioSharingFAQ.png";
+import defaultMaps from "./DefaultMaps.mp4";
+import customMaps from "./CustomMaps.mp4";
+import customMapsAdvanced from "./CustomMapsAdvanced.jpg";
+import resetingAndRemovingMaps from "./ResetingAndRemovingMaps.mp4";
+import usingDrawing from "./UsingDrawing.mp4";
export default {
audioSharingFaq,
+ defaultMaps,
+ customMaps,
+ customMapsAdvanced,
+ resetingAndRemovingMaps,
+ usingDrawing,
};
diff --git a/src/docs/howTo/sharingMaps.md b/src/docs/howTo/sharingMaps.md
index a83b13e..1b09d0c 100644
--- a/src/docs/howTo/sharingMaps.md
+++ b/src/docs/howTo/sharingMaps.md
@@ -4,42 +4,49 @@ Once you have started a game you can share a map to all other party members by c
Owlbear Rodeo comes with a selection of default maps that allow you to quickly get up and running by picking an environment.
-Currently the default maps are:
+![Default Maps](defaultMaps)
-- Blank
-- Grass
-- Sand
-- Stone
-- Water
-- Wood
+Currently the default maps are: Blank, Grass, Sand, Stone, Water and Wood.
## Custom Maps
-When the default maps don't suit your needs you can upload a custom map. To do this open the Map Select Screen and then either click the Add Map button in the top left or simply drag an image from your computer into the list of maps.
+When the default maps don't suit your needs you can upload a custom map.
+
+![Custom Maps](customMaps)
+
+To do this open the Map Select Screen and then either click the Add Map button in the top left or simply drag an image from your computer into the list of maps.
Once a custom map has been added you must configure the size of the map.
To do this there is the Column and Row properties. Columns represents how many grid cells your map has in the horizontal direction while Rows represents the amount of cells in the vertical direction.
-TODO: Add bit on map size
-
`Tip: Owlbear Rodeo can automatically fill the Column and Row properties for you if you include them in the file name of the uploaded map. E.g. River [10x15] will create a map named River with 10 columns and 15 rows`
+`Warning: When uploading a custom map keep the file size in mind. Maps are shared between users in Owlbear Rodeo so if a map is taking too long to load for other party members consider lowering the file size.`
+
## Custom Maps (Advanced)
-Once a custom map has been uploaded there are a few advanced settings available. To get access to these settings, with the desired map selected, click the Show More button under the Rows and Columns in the Map Select Screen. A brief summary of these settings is listed below.
+Once a custom map has been uploaded there are a few advanced settings available.
+
+![Custom Maps Advanced](customMapsAdvanced)
+
+To get access to these settings, with the desired map selected, click the Show More button under the Rows and Columns in the Map Select Screen. A brief summary of these settings is listed below.
- Name: The name of the map shown in the Map Select Screen.
-- Show Grid: When true Owlbear Rodeo will draw a grid on top of your map, this is useful if a custom map you have uploaded does't include a grid.
-- Grid Type: Change the type of grid to use for the map. Currently only the Grid type is supported however Hex Vertical and Hex Horizontal will be added in a future release.
+- Grid Type: Change the type of grid to use for the map. Currently only the Square type is supported however Hex will be added in a future release.
+- Show Grid: When enabled Owlbear Rodeo will draw a grid on top of your map, this is useful if a custom map you have uploaded does't include a grid.
- Allow others to edit: These properties control what other party members can edit when viewing your map.
- - Fog: Controls whether others can edit the maps fog (default false).
- - Drawings: Controls whether others can add drawings to the map (default true).
- - Tokens: Controls whether others can move tokens that they have not placed themselves (default true).
+ - Fog: Controls whether others can edit the maps fog (default disabled).
+ - Drawings: Controls whether others can add drawings to the map (default enabled).
+ - Tokens: Controls whether others can move tokens that they have not placed themselves (default enabled).
-## Reseting and Deleting a Map
+## Reseting and Removing a Map
+
+With a map selected there are a couple of actions you can perform on them.
+
+![Reseting and Removing Maps](resetingAndRemovingMaps)
Once a map has been used you can clear away all the tokens, fog and drawings by selecting the map in the Select Map Screen and then on the selected tile click the Reset Map Button.
-To delete a custom map select the map in the Map Select Screen then on the selected tile click the Delete Map Button.
+To remove a custom map select the map in the Map Select Screen then on the selected tile click the Remove Map Button.
`Warning: This operation cannot be undone`
diff --git a/src/docs/howTo/usingDrawing.md b/src/docs/howTo/usingDrawing.md
index 1c5f6cb..7d771a1 100644
--- a/src/docs/howTo/usingDrawing.md
+++ b/src/docs/howTo/usingDrawing.md
@@ -1,5 +1,7 @@
The Drawing Tool allows you to draw on top of a map. To access the Drawing Tool click the Drawing Tool Button in the top right of the map view.
+![Using Drawing](usingDrawing)
+
A summary of the Drawing Tool options are listed below.
| Option | Description | Shortcut |
diff --git a/src/routes/HowTo.js b/src/routes/HowTo.js
index 73177ce..ebcd291 100644
--- a/src/routes/HowTo.js
+++ b/src/routes/HowTo.js
@@ -6,6 +6,8 @@ import Footer from "../components/Footer";
import Markdown from "../components/Markdown";
import Accordion from "../components/Accordion";
+import assets from "../docs/assets";
+
const overview = raw("../docs/howTo/overview.md");
const startingAndJoining = raw("../docs/howTo/startingAndJoining.md");
const sharingMaps = raw("../docs/howTo/sharingMaps.md");
@@ -40,47 +42,47 @@ function ReleaseNotes() {