Mitchell McCaffrey
7aed345baf
Fixed alignment of map expand button
2020-09-08 12:34:03 +10:00
Mitchell McCaffrey
3f5bd7f659
Added wheel normalization to fix zoom on windows firefox
2020-09-06 16:57:42 +10:00
Mitchell McCaffrey
6ce3c3bd7e
Fixed null refrence in token drag overlay
2020-09-06 16:26:55 +10:00
Mitchell McCaffrey
b07b9ff260
Added mobile support to select dice modal and added padding to mobile modals
2020-09-06 16:24:23 +10:00
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
Mitchell McCaffrey
1e0f767e73
Fix bug with default dice for select dice modal
2020-05-28 13:02:51 +10:00
Mitchell McCaffrey
fc8c65e525
Removed unnesasary async from createDiceInstace and simplified dice meshes to reduce spawn delay
2020-05-28 12:51:42 +10:00
Mitchell McCaffrey
2775fc6e16
Changed dice scene name and added handlers for pointer cancel and leave
2020-05-28 12:25:20 +10:00
Mitchell McCaffrey
8432176014
Fix map scroll when modal open
2020-05-28 11:52:18 +10:00
Mitchell McCaffrey
a567cee289
Disabled pointer events for dice tray results text
2020-05-27 18:41:34 +10:00
Mitchell McCaffrey
6f51fd8cbe
Fix touch highlight for dice overlay
2020-05-27 16:39:53 +10:00
Mitchell McCaffrey
0d37f8c6e3
Changed map interaction to ignore events not on the canvas
...
This removes the need for calling prevent interaction all over the code also allowed pointer events to go through the empty parts of the dice tray
2020-05-27 15:26:42 +10:00
Mitchell McCaffrey
7f0b4e32af
Separated dice loading and dice instance creation and added loading spinner for dice
2020-05-27 14:47:51 +10:00
Mitchell McCaffrey
da84f923d1
Added per dice physics properties
2020-05-27 14:01:12 +10:00
Mitchell McCaffrey
d4ec013df2
Zoom dice camera
2020-05-27 12:25:20 +10:00
Mitchell McCaffrey
cf12ff22ed
Added thickness to dice tray collision wall and roof
2020-05-27 12:04:28 +10:00
Mitchell McCaffrey
027fc480e1
Removed flex wrap from dice controls
2020-05-27 11:34:32 +10:00
Mitchell McCaffrey
b786b176b0
Added multiple dice tray sizes
2020-05-27 11:24:17 +10:00
Mitchell McCaffrey
0a5b33a69f
Removed outline when dice tray is focused
2020-05-26 17:21:50 +10:00
Mitchell McCaffrey
5a2e0a53ed
Fix map scroll with modals open
2020-05-26 15:44:41 +10:00
Mitchell McCaffrey
dec8fd3c2e
Updated dice tray icon and fixed map interaction with select dice modal open
2020-05-26 15:43:46 +10:00
Mitchell McCaffrey
84b198c851
Added dice style select
2020-05-26 14:47:37 +10:00
Mitchell McCaffrey
c99e5bf5f8
Adjusted dice mass and friction and added velocity window for dice throwing
2020-05-26 10:57:12 +10:00
Mitchell McCaffrey
3be729d4a0
Added reset to dice physics when rerolling
2020-05-25 20:52:11 +10:00
Mitchell McCaffrey
70f68a9093
Fix dice momenent conflict on touch devices
2020-05-25 20:46:21 +10:00
Mitchell McCaffrey
fd5998ea17
Added dice tray resizing to match screen size
2020-05-25 20:37:17 +10:00
Mitchell McCaffrey
90e6e43c1d
Merge branch 'release/v1.3.0' into feature/dice
2020-05-25 19:29:11 +10:00
Mitchell McCaffrey
43b0ff3e2e
Removed double click map reset due to conflicts with other interactions
2020-05-25 18:56:46 +10:00
Mitchell McCaffrey
4b4c88f85c
Added back double click to reset map transform
2020-05-25 18:08:39 +10:00
Mitchell McCaffrey
92c14533f1
Updated pinch map gesture to support movement and fix bug with drawing while pinching
2020-05-25 17:26:36 +10:00
Mitchell McCaffrey
012086745f
Added more padding to token drag overlay to avoid problems with ios gesture bar
2020-05-25 17:25:45 +10:00
Mitchell McCaffrey
4299467757
Fix token menu open position bug with selecting the same token after movement
2020-05-25 16:35:48 +10:00
Mitchell McCaffrey
ef96f2f7c4
Reversed context menu as it was bugged with map interaction
2020-05-25 16:12:30 +10:00
Mitchell McCaffrey
6bd0cefc14
Added right click support back for token menu
2020-05-25 16:01:15 +10:00
Mitchell McCaffrey
33d7d972be
Added map loading provider to fix bugs with multiple asset loading
2020-05-25 15:34:22 +10:00
Mitchell McCaffrey
b0c1dcf9dd
Changed map drag position to use a ref value to avoid re-renders
...
Added a useMapBrush helper
2020-05-25 15:07:12 +10:00
Mitchell McCaffrey
8932ceb1e3
Make map translation smoother by removing it from the state
2020-05-25 14:09:45 +10:00
Mitchell McCaffrey
73c7ca91fa
Fix token remove for touch devices
2020-05-25 13:12:30 +10:00
Mitchell McCaffrey
be7d6c5277
Moved to react spring for konva animations
2020-05-25 10:37:28 +10:00
Mitchell McCaffrey
b3b84d889b
Added new members to state db upgrade removed duplicated field from token state
...
Matched token default id with map default id as map can't be changed
2020-05-24 15:18:30 +10:00
Mitchell McCaffrey
bbb9279228
Fix undefined error in token state sort
2020-05-24 13:32:49 +10:00
Mitchell McCaffrey
a91f2c6d39
Added tap events for map interaction
2020-05-22 23:55:50 +10:00
Mitchell McCaffrey
5f2d282df8
Added pinch to zoom for map
2020-05-22 23:43:55 +10:00
Mitchell McCaffrey
09e423fd56
Added token animations back, edited token change event to support multiple edits
...
This stopped mounted vehicle animations from lagging
2020-05-22 22:17:30 +10:00
Mitchell McCaffrey
ef1c875088
Added token rotation
2020-05-22 21:10:05 +10:00
Mitchell McCaffrey
a8bd5ab672
Added is vehicle checkbox and vehicle type tokens
2020-05-22 20:43:07 +10:00
Mitchell McCaffrey
00c24c34a4
Added last edited by in default token state
2020-05-22 20:09:02 +10:00
Mitchell McCaffrey
6b176db914
Updated list token size to cover fit
2020-05-22 18:00:10 +10:00
Mitchell McCaffrey
a77c4158ca
Readded loading spinner for map loading and fixed infinite token size when loading
2020-05-22 17:56:03 +10:00
Mitchell McCaffrey
9f21f895ba
Disable map interaction in map selection modal
2020-05-22 17:25:17 +10:00
Mitchell McCaffrey
a6768727fe
Readded map fog
2020-05-22 17:22:32 +10:00
Mitchell McCaffrey
a81eed1a48
Added transparency for tokens that can't be dragged
2020-05-22 15:11:18 +10:00
Mitchell McCaffrey
14c9151405
Added proper cursors for the selected tool
2020-05-22 15:10:20 +10:00
Mitchell McCaffrey
d26932d17c
Added back map drawing
2020-05-22 13:47:11 +10:00
Mitchell McCaffrey
9e01ad1d0e
Simplified menu interaction prevention
2020-05-22 13:46:52 +10:00
Mitchell McCaffrey
6b675d8200
Increased token remove button size
2020-05-22 13:44:17 +10:00
Mitchell McCaffrey
d9a4b10563
Fix token resolution for high DPI screens
2020-05-22 13:44:05 +10:00
Mitchell McCaffrey
118878d9e1
Readded map token remove
2020-05-21 22:57:44 +10:00
Mitchell McCaffrey
05df26491f
Renamed remove token icon
2020-05-21 22:57:05 +10:00
Mitchell McCaffrey
8b83fb8c67
Fix key in token status
2020-05-21 21:31:44 +10:00
Mitchell McCaffrey
07a5d95e4c
Remove unused member in proxy token
2020-05-21 21:31:33 +10:00
Mitchell McCaffrey
daab80f45e
Fix prevent interaction bug in map token
2020-05-21 21:31:15 +10:00
Mitchell McCaffrey
9ace933d30
Fix no interaction bug when closing token menu with enter
2020-05-21 20:58:17 +10:00
Mitchell McCaffrey
b9968053b7
Converted token label and status to konva
2020-05-21 20:57:52 +10:00
Mitchell McCaffrey
5b70f69fb7
Moved map and map tokens to Konva
2020-05-21 16:46:50 +10:00
Mitchell McCaffrey
542388a67f
Removed single character limit for token labels and added sizing for token size
2020-05-20 18:39:57 +10:00
Mitchell McCaffrey
62476ce43e
Added token size to token map menu
2020-05-20 15:44:28 +10:00
Mitchell McCaffrey
26b82cc782
Added default size to token modal
2020-05-20 12:37:29 +10:00
Mitchell McCaffrey
3f959fd3a3
Added unknown token for when a token in use is deleted
2020-05-20 11:35:14 +10:00
Mitchell McCaffrey
0f5f90faa6
Added custom token loading and replication
2020-05-19 19:03:36 +10:00
Mitchell McCaffrey
dbc3cd83e7
Fix performance issue from changing map state
2020-05-19 16:33:23 +10:00
Mitchell McCaffrey
7b98370e4c
Added token edit modal, refactored map and token data providers
...
Refactored image drop code into reusable component as well
2020-05-19 16:21:01 +10:00
Mitchell McCaffrey
1774b459dc
Changed map zooming to always zoom to center of screen and not map
2020-05-18 21:52:46 +10:00
Mitchell McCaffrey
04794eddc1
Added token transition for when an other user moves a token
2020-05-18 19:21:29 +10:00
Mitchell McCaffrey
f080b675dd
Added new tokens and database upgrade
2020-05-18 16:31:32 +10:00
Mitchell McCaffrey
6e027cd9a3
Added continuous dice roll calculation and scene render sleep
2020-05-14 22:51:06 +10:00
Mitchell McCaffrey
d9c928dfcd
Added dice clear and dice reroll
2020-05-14 18:13:12 +10:00
Mitchell McCaffrey
b57d10c6ef
Added dice roll count
2020-05-14 16:48:13 +10:00
Mitchell McCaffrey
f2a17b3cca
Fix dice controls for light theme
2020-05-14 15:06:14 +10:00
Mitchell McCaffrey
ebc24a51d1
Added proper dice results
2020-05-14 15:06:02 +10:00
Mitchell McCaffrey
975cc24f4c
Added d100
2020-05-14 13:26:21 +10:00
Mitchell McCaffrey
2e3a733d4c
Added random dice throwing when creating instances
2020-05-13 23:13:58 +10:00
Mitchell McCaffrey
e48e5481e1
Added more dice
2020-05-13 16:15:32 +10:00
Mitchell McCaffrey
c9f77313a2
Moved to new dice mesh and added remaining dice types
2020-05-12 23:49:35 +10:00
Mitchell McCaffrey
ba17aec263
Remove console log
2020-05-10 19:48:27 +10:00
Mitchell McCaffrey
145b08d93f
Added dice tray mesh
2020-05-10 16:13:15 +10:00
Mitchell McCaffrey
d8111de6cc
Changed other dice icons to make different dice types temporarily
2020-05-10 16:11:23 +10:00
Mitchell McCaffrey
fbad2cfa46
Added dice add icons and moved dice tray controls to seperate component
2020-05-08 17:08:47 +10:00
Mitchell McCaffrey
fee7a270e4
Added expand controls to map dice
2020-05-08 15:09:40 +10:00
Mitchell McCaffrey
07e85f46a3
Move dice to overlay and move map interaction to prevent map movement while interacting with dice
2020-05-08 14:22:02 +10:00
Mitchell McCaffrey
0a71609105
Added babylonjs, ammojs, dice models and simple dice interaction
2020-05-08 12:56:36 +10:00
Mitchell McCaffrey
7676797337
Added release notes, markdown renderer and converted FAQ to markdown
2020-05-07 22:29:31 +10:00
Mitchell McCaffrey
9e4cbbfb75
Added anchor tags to faq links
2020-05-03 18:30:01 +10:00
Mitchell McCaffrey
60059ff447
Added database faker for when indexedb is disabled
...
Database is now in a context with a status
New FAQ for indexdb errors
2020-05-03 18:22:09 +10:00
Mitchell McCaffrey
86450a04db
Added loading spinner to map load
2020-04-30 22:08:03 +10:00
Mitchell McCaffrey
ce11021e9f
Fix bug with dropping token onto empty map
2020-04-30 16:40:17 +10:00
Mitchell McCaffrey
eed8f63b84
Upped fog stroke width
2020-04-30 16:28:06 +10:00
Mitchell McCaffrey
8c304c76e5
Adjusted map zoom speed
2020-04-30 16:16:12 +10:00
Mitchell McCaffrey
c0d04ea6fa
Added normalization to the map mouse zoom
2020-04-30 15:45:20 +10:00
Mitchell McCaffrey
11671849f8
Changed to having token edit permissions still allow you to place tokens
2020-04-30 15:12:34 +10:00
Mitchell McCaffrey
23e42aa115
Center map tile text
2020-04-30 14:42:15 +10:00