Commit Graph

405 Commits

Author SHA1 Message Date
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