Commit Graph

502 Commits

Author SHA1 Message Date
Mitchell McCaffrey
68f6860c1f Update dice tray size calculation with full screen 2020-09-06 15:47:31 +10:00
Mitchell McCaffrey
58cb92d432 Added full screen button 2020-09-06 15:18:05 +10:00
Mitchell McCaffrey
24a3387b51 Added scaling to map and token select for small screens 2020-09-06 13:20:05 +10:00
Mitchell McCaffrey
9bdbb9cb4c Fixed proxy token positioning for touch devices 2020-08-28 21:34:31 +10:00
Mitchell McCaffrey
4edbac5408 Moved token lock click detect to time differece as it generalises easier to touch 2020-08-28 17:27:19 +10:00
Mitchell McCaffrey
b4e52ebb23 Fixed 2 bugs with map loading and sending
When a map was sent the receiver didn't save the resolutions tihs meant that if the original map owner left or wasn't the party leader the map would be blank when new users joined. Also if a map sender left when sending a map and rejoined their version of the map would be overriden by a corrupted version.
2020-08-28 17:06:13 +10:00
Mitchell McCaffrey
7f7471b1e9 Fix sorting bug when dragging token from tokens list 2020-08-28 15:17:52 +10:00
Mitchell McCaffrey
9bc69a18e8 Fix proxy token drop being off on different zoom factors 2020-08-28 15:13:41 +10:00
Mitchell McCaffrey
3c27f65d0f Added token category option 2020-08-27 19:09:16 +10:00
Mitchell McCaffrey
a912163079 Fix vehicles moving locked tokens 2020-08-27 17:58:41 +10:00
Mitchell McCaffrey
b26a89f8ca Added token sorted based off of last modified 2020-08-27 17:56:59 +10:00
Mitchell McCaffrey
9ab584cbe7 Added lock and visibility options to tokens 2020-08-27 17:30:17 +10:00
Mitchell McCaffrey
8b8bfbc0f0 Fixed dice from falling through the floor when holding them 2020-08-11 20:43:01 +10:00
Mitchell McCaffrey
b94e06b5a7 Added souce map analyzer and added tree shaking to Babylon to reduce bundle size 2020-08-11 20:22:10 +10:00
Mitchell McCaffrey
1140247a3e Added disabling of dice buttons when dice is loading 2020-08-11 18:56:56 +10:00
Mitchell McCaffrey
f9c1ec2d9b Fixed bug with map state being would be wrongly synced to party members 2020-08-11 18:48:48 +10:00
Mitchell McCaffrey
f8c9588893 Increased token snapping threshold 2020-08-10 21:53:43 +10:00
Mitchell McCaffrey
196691d839 Added your dice rolls to party if sharing enabled 2020-08-10 17:58:39 +10:00
Mitchell McCaffrey
2bf89eb273 Fix bug with dice throw not working on windows once a dice had come to rest 2020-08-07 20:56:21 +10:00
Mitchell McCaffrey
602631f9b1 Added a saved settings system that uses localstorage and versioning 2020-08-07 17:15:16 +10:00
Mitchell McCaffrey
fd9659db98 Added shortcut for fog toggle 2020-08-07 14:10:37 +10:00
Mitchell McCaffrey
f19389fbc5 Changed line joins to round for fog and drawing
Avoids the long overhang with three sided fog shapes
2020-08-07 14:05:55 +10:00
Mitchell McCaffrey
239f377aef Changed map and token select number inputs to not prepend a 0 when typing numbers 2020-08-07 13:56:03 +10:00
Mitchell McCaffrey
5dc338471d Added shortcut to pointer tool 2020-08-07 13:39:23 +10:00
Mitchell McCaffrey
91d5298ac6 Changed token snapping threshold 2020-08-07 13:35:47 +10:00
Mitchell McCaffrey
548ec5f09a Added grid snapping to map tokens 2020-08-07 12:55:16 +10:00
Mitchell McCaffrey
76cad29f2b Added snap to grid option to map settings 2020-08-07 12:28:50 +10:00
Mitchell McCaffrey
6b97614a60 Added a scroll to dice tray buttons for small screens 2020-08-07 10:56:06 +10:00
Mitchell McCaffrey
0012428159 Cleaned up dice controls and moved to percentage for dice result margins 2020-08-07 09:58:51 +10:00
Mitchell McCaffrey
1729abe777 Fix bug with map transform not getting reset for map owner on change map 2020-08-06 18:52:03 +10:00
Mitchell McCaffrey
93a09db707 Fix bug that caused closing the select map modal to select the map
Added ability to deselect a map by clicking outside of the map select tile
2020-08-06 13:31:46 +10:00
Mitchell McCaffrey
56b113b8e4 Added scroll bar to party component 2020-08-06 09:54:59 +10:00
Mitchell McCaffrey
01ed7beecd Added a show rolls function to networked dice 2020-08-05 23:14:06 +10:00
Mitchell McCaffrey
1026c44205 Fix dice tray button size on safari 2020-08-05 19:06:33 +10:00
Mitchell McCaffrey
48f39380ab Changed stream volume slider to disable instead of hide when unavailable 2020-08-05 17:46:42 +10:00
Mitchell McCaffrey
c6c9acae3d Added dice network replication and display for peers 2020-08-05 17:46:09 +10:00
Mitchell McCaffrey
3c49bcd6d0 Fix flicker in dice total 2020-08-05 17:05:04 +10:00
Mitchell McCaffrey
d20be94059 Restructured dice so it is part of the party
Added initial networking plumbing
2020-08-05 16:34:26 +10:00
Mitchell McCaffrey
795f187782 Changed dice controls to be to the left of the tray instead of on top
Also fixed dice tray sizing for smaller screens
2020-08-05 15:10:56 +10:00
Mitchell McCaffrey
1cbd1d7e1f Removed unused import 2020-08-05 12:30:33 +10:00
Mitchell McCaffrey
4199d7ab6a Change the timer data structure to fix network bugs and refactored shared timer functions 2020-08-05 12:01:54 +10:00
Mitchell McCaffrey
0c1ec22234 Added animation to timer component 2020-08-05 10:49:20 +10:00
Mitchell McCaffrey
3fbfd13e27 Added visual timer component 2020-08-05 10:40:18 +10:00
Mitchell McCaffrey
6d8b0312a8 Added initial network and timer countdown 2020-08-04 17:08:42 +10:00
Mitchell McCaffrey
fc4d36963f Moved timer tool out of the map controls and into the party controls 2020-08-04 16:26:53 +10:00
Mitchell McCaffrey
6e0eb8e3ba Added timer tool to map 2020-08-04 15:40:32 +10:00
Mitchell McCaffrey
558db7d88b Changed fog so it is tranparent when you can edit it
Added a show preview toggle to see how others will see it.
Refactored fog and drawing props to simplify
2020-08-04 14:51:31 +10:00
Mitchell McCaffrey
96ff9a9fa3 Added a scale and unit option to the measure tool 2020-08-04 10:31:31 +10:00
Mitchell McCaffrey
e1733bb504 Change token fade hover to only be on drawing 2020-07-31 14:50:01 +10:00
Mitchell McCaffrey
6aef95c78c Add crosshair pointer for pointer 2020-07-31 14:49:36 +10:00
Mitchell McCaffrey
142b3f804f Added a trail to the pointer 2020-07-31 14:20:36 +10:00
Mitchell McCaffrey
eed47e644c Added network interpolation and fix send rate for pointer 2020-07-31 11:03:12 +10:00
Mitchell McCaffrey
c6f9b29cc3 Added simple pointer tool 2020-07-28 17:59:26 +10:00
Mitchell McCaffrey
7204109c7d Added a limited scale to token label size based off of token size 2020-07-20 19:30:09 +10:00
Mitchell McCaffrey
58ac649aa8 Fixed bug with tokens that were attatched to a vehicle being rendered on top of fog 2020-07-20 19:14:46 +10:00
Mitchell McCaffrey
7252efc7e9 Fix bug with token delete not working when intersecting fog 2020-07-20 19:05:19 +10:00
Mitchell McCaffrey
f1986c0c14 Moved token mount intersection to use proper intersection shape 2020-07-18 15:21:33 +10:00
Mitchell McCaffrey
723e53948e Fix stream volume slider gain and add detection for volume control support 2020-07-18 13:18:13 +10:00
Mitchell McCaffrey
343c516473 Added volume slider to audio sharing 2020-07-18 12:11:02 +10:00
Mitchell McCaffrey
44e6a34aba Moved to handling keyboard shortcuts on the document body
Also removed shortcut text input checking to map interaction component
2020-07-18 11:06:02 +10:00
Mitchell McCaffrey
17043745de Fix bug with brush tool dissapearing when collpased 2020-07-18 10:46:18 +10:00
Mitchell McCaffrey
6aa1f28c96 Fix crash with map size settings 2020-07-17 19:06:52 +10:00
Mitchell McCaffrey
5e6f3537b4 Fix bug with map transform resetting when a new resolution is loaded 2020-07-17 17:06:40 +10:00
Mitchell McCaffrey
5ba4817398 Fix bug with map quality levels not loading on peers 2020-07-17 17:03:47 +10:00
Mitchell McCaffrey
08214cd05c Fix map quality setting margin 2020-07-17 16:36:39 +10:00
Mitchell McCaffrey
9f81a64fd3 Simplified map quality label 2020-07-17 16:32:31 +10:00
Mitchell McCaffrey
067e672d55 Added map size indicator to map quality setting 2020-07-17 16:32:20 +10:00
Mitchell McCaffrey
249d1d2492 Added loading spinner to map loading 2020-07-17 16:19:59 +10:00
Mitchell McCaffrey
61a2e1ac8d Disabled map select when loading a map 2020-07-17 15:57:52 +10:00
Mitchell McCaffrey
d83c6e80fb Fix bug with sending low resolution maps 2020-07-17 15:02:21 +10:00
Mitchell McCaffrey
00ba1a5fc1 Fixed map showing the a new maps state when loading 2020-07-17 13:04:06 +10:00
Mitchell McCaffrey
2a3deed739 Fix map quality setting for default maps 2020-07-17 12:50:52 +10:00
Mitchell McCaffrey
57c1d01fc7 Disable quality settings that aren't available and change map quality 2020-07-15 17:35:36 +10:00
Mitchell McCaffrey
e4b3897ac4 Added map quality option and selector in map select screen 2020-07-15 17:17:11 +10:00
Mitchell McCaffrey
2c2cb29fa2 Moved map data overlay to not take up the full screen 2020-07-13 21:53:40 +10:00
Mitchell McCaffrey
ac42aaf0f5 Keep old map around when changing map to avoid resolution change pops 2020-07-13 21:52:35 +10:00
Mitchell McCaffrey
914889c56d Added basic resolution support for custom maps 2020-07-13 19:36:38 +10:00
Mitchell McCaffrey
3afae404d7 Refactored map grid lightness function 2020-07-13 17:44:22 +10:00
Mitchell McCaffrey
8cf9ddd8ce Remove audio sharing from FAQ and add default open based on how to url 2020-07-12 18:59:28 +10:00
Mitchell McCaffrey
fe0a58ca5a Added embeds for how tos 2020-07-12 18:38:53 +10:00
Mitchell McCaffrey
01006a74ac FIx a couple of light theme contrast issues 2020-07-02 20:17:27 +10:00
Mitchell McCaffrey
6a1bae3ab3 Fix token tile delete button name 2020-07-02 17:01:08 +10:00
Mitchell McCaffrey
58736b570c Added Note: variety to markdown message 2020-07-02 15:59:21 +10:00
Mitchell McCaffrey
8987928878 Added video support to markdown and added videos to map and drawing docs 2020-07-01 22:13:58 +10:00
Mitchell McCaffrey
6fe26c66b4 Moved markdown image loading to a static asset 2020-07-01 20:19:26 +10:00
Mitchell McCaffrey
7538e65d0c Added youtube embeds and dates to release notes 2020-07-01 20:03:48 +10:00
Mitchell McCaffrey
9be997799d Adjusted accordion spacing 2020-07-01 16:29:16 +10:00
Mitchell McCaffrey
1aeb5e71d7 Added table support for markdown component 2020-07-01 16:28:46 +10:00
Mitchell McCaffrey
d1352d961b Added message component for markdown inline code 2020-07-01 09:09:46 +10:00
Mitchell McCaffrey
128d21bb20 Updated map type drop down with disable and more descriptive option 2020-07-01 08:44:07 +10:00
Mitchell McCaffrey
f1ddaa20ab Fix checkbox control / uncontrol 2020-07-01 08:43:34 +10:00
Mitchell McCaffrey
7c428862f8 Updated capitilisation in map settings 2020-07-01 08:43:06 +10:00
Mitchell McCaffrey
4942fd832f Added grid type dropdown to map settings 2020-06-30 21:23:45 +10:00
Mitchell McCaffrey
5b04bdac51 Added first pass for most how to's 2020-06-30 19:19:33 +10:00
Mitchell McCaffrey
57efa4ac61 Added accordion component 2020-06-29 17:26:11 +10:00
Mitchell McCaffrey
8f6b2ec0d3 Added keyboard shortcuts for measure tool 2020-06-28 18:06:52 +10:00
Mitchell McCaffrey
7431d0a20f Fixed spelling on fog subtract tool 2020-06-28 18:06:38 +10:00
Mitchell McCaffrey
f025da716f Added availability check in map loading overlay 2020-06-28 16:51:56 +10:00
Mitchell McCaffrey
eb8caf8f6c Removed unused grid icon and toggle 2020-06-28 16:01:00 +10:00
Mitchell McCaffrey
e2abc9d182 Fix redo shortcut on windows 2020-06-28 16:00:44 +10:00
Mitchell McCaffrey
f4145b2f3b Reduced map grid opacity 2020-06-28 15:44:53 +10:00
Mitchell McCaffrey
9f2ab861bb Fixed bug with token and map settings modal values being edited with no item selected 2020-06-28 15:44:36 +10:00
Mitchell McCaffrey
7a3213a0f9 Fix bug with map settings expand disabled 2020-06-28 14:00:36 +10:00
Mitchell McCaffrey
a81031e84e Moved map asset loading progress to use refs to stop re-renders
Moved map loading overlay to use animation frames for a smooth progress bar
2020-06-28 13:37:04 +10:00
Mitchell McCaffrey
bf022e2686 Added progress indicator to map data loading 2020-06-28 12:28:58 +10:00
Mitchell McCaffrey
67356255b9 Added map settings change cache to improve editing performance 2020-06-27 11:18:47 +10:00
Mitchell McCaffrey
c6bea2a573 Add comment to map menu 2020-06-27 10:25:31 +10:00
Mitchell McCaffrey
1da7ee9e95 Moved shortcut prevention to all modals 2020-06-27 10:21:50 +10:00
Mitchell McCaffrey
62587e471a Fix bug with text input and keyboard shortcuts on token menu 2020-06-27 10:11:10 +10:00
Mitchell McCaffrey
3744364981 Fix bug with token opacity when changing tools with a shortcut 2020-06-27 10:04:54 +10:00
Mitchell McCaffrey
f0edfb8cbc Added measure tool crosshair 2020-06-26 12:33:07 +10:00
Mitchell McCaffrey
5f799548d2 Added shortcuts for map controls 2020-06-26 12:32:51 +10:00
Mitchell McCaffrey
57754e0ac8 Added measure tool 2020-06-26 12:23:06 +10:00
Mitchell McCaffrey
dfce8dee05 Fixed possible render bug 2020-06-25 18:57:12 +10:00
Mitchell McCaffrey
e3704879c9 Added map collapsable tool settings for small screens 2020-06-25 18:56:51 +10:00
Mitchell McCaffrey
cac2af1608 Added line tool 2020-06-25 08:47:53 +10:00
Mitchell McCaffrey
80b711296b Added keyboard shortcuts to drawing and remaining fog tools 2020-06-24 18:05:33 +10:00
Mitchell McCaffrey
9a4d047cd5 Moved back to drag events for map and fog drawing
Moved to an event driven model for dragging
2020-06-24 09:27:20 +10:00
Mitchell McCaffrey
afb22c7a73 Fix drawing tool rename in map controls 2020-06-22 09:24:45 +10:00
Mitchell McCaffrey
d677f3623f Fix bug with zooming while on the drawing tool on a touch device 2020-06-22 09:22:20 +10:00
Mitchell McCaffrey
ceedceabf5 Fix crash when selecting a tool while editing a fog polygon 2020-06-21 16:55:58 +10:00
Mitchell McCaffrey
aebc0f9267 Added automatic setting change for drawing when erased all 2020-06-21 16:32:53 +10:00
Mitchell McCaffrey
0bec582116 Moved drawing to use native konva events 2020-06-21 16:29:42 +10:00
Mitchell McCaffrey
cb8b66e55f Added touch supprt to fog polygon 2020-06-21 16:17:54 +10:00
Mitchell McCaffrey
2f740efd7c Added UI element to allow accepting fog polygon editing 2020-06-21 16:09:37 +10:00
Mitchell McCaffrey
f85b379b15 Added grid snapping to fog polygon, added center snapping and fixed fog magnet 2020-06-21 14:55:17 +10:00
Mitchell McCaffrey
a300e6bd79 Moved fog add toggle to two separate icons 2020-06-21 13:18:03 +10:00
Mitchell McCaffrey
3ba7c8809c Moved drawing tools into one section 2020-06-21 11:01:03 +10:00
Mitchell McCaffrey
aa4ba33a0b Added fog polygon tool and changed fog interaction method 2020-06-19 18:04:58 +10:00
Mitchell McCaffrey
1554e7ae5f Merge branch 'master' into feature/partial-shape 2020-06-19 13:28:55 +10:00
Mitchell McCaffrey
693c2967cd Added allow close option to banner and fixed banner min width 2020-06-16 20:08:10 +10:00
Mitchell McCaffrey
f4d71cd6bf Add support for holes in fog subtraction 2020-06-14 12:27:05 +10:00
Mitchell McCaffrey
9eaece24e5 Added fog subtraction tool 2020-06-09 12:45:52 +10:00
Mitchell McCaffrey
74fb6a2c37 Fixed padding bottom on footer for ios 2020-05-31 18:30:23 +10:00
Mitchell McCaffrey
faddf03ecf Added show map grid option to maps 2020-05-31 16:25:05 +10:00
Mitchell McCaffrey
a5a2c1ac77 Add fill option to divider 2020-05-31 16:24:17 +10:00
Mitchell McCaffrey
7dac49f690 Fix fog undo disabling 2020-05-31 13:56:33 +10:00
Mitchell McCaffrey
337a769fe4 Changed map and fog erase to allow for multi item selection 2020-05-31 12:12:16 +10:00
Mitchell McCaffrey
55bf9e4d03 Added multiple simultaneous map and token upload support 2020-05-31 10:53:33 +10:00
Mitchell McCaffrey
31cdbbb8dd Fix bug with deleteing tokens that have been removed 2020-05-31 10:23:45 +10:00
Mitchell McCaffrey
7a927959d2 Fix hit test for token label and status 2020-05-29 07:50:03 +10:00
Mitchell McCaffrey
a4a8722de0 Reversed zoom direction 2020-05-29 07:36:11 +10:00
Mitchell McCaffrey
765c84389f Added async / await to dice texture loading
This should fix load issues with the dice tray being blank
Also turnned off the default texture flip so all textures are now unflipped by default
2020-05-28 18:08:26 +10:00
Mitchell McCaffrey
49c18e8cf7 Added hide in sidebar option for custom tokens 2020-05-28 16:23:20 +10:00
Mitchell McCaffrey
8864ef4494 Changed dice tray max width 2020-05-28 15:06:11 +10:00
Mitchell McCaffrey
a09e4f41ca I lied, this should fix the dice load issue 2020-05-28 15:06:01 +10:00
Mitchell McCaffrey
25d0491374 Actually actually fix dice initial load 2020-05-28 13:56:00 +10:00
Mitchell McCaffrey
df57f09080 Actually fix dice initial load 2020-05-28 13:32:55 +10:00
Mitchell McCaffrey
a229d190e4 Fix bug where dice tray doesn't show after load 2020-05-28 13:24:33 +10:00
Mitchell McCaffrey
b8e5554058 Moved dice folder 2020-05-28 13:06:33 +10:00