Commit Graph

89 Commits

Author SHA1 Message Date
Mitchell McCaffrey
75a7fb401b Remove unused import 2021-02-08 17:26:56 +11:00
Mitchell McCaffrey
24e64f9d32 Update maps and tokens to have thumbnails and removed loading of all files on load 2021-02-08 16:53:56 +11:00
Mitchell McCaffrey
f20173de35 Added shared grid context and moved away from calling useContext directly 2021-02-06 13:32:38 +11:00
Mitchell McCaffrey
fa1f6fe18f Converted draw actions storage to collapsed representation
Moved to command pattern for action application
2021-02-04 09:11:27 +11:00
Mitchell McCaffrey
ff8d7c1547 Moved notes to be above drawings 2021-01-28 16:26:28 +11:00
Mitchell McCaffrey
c90434b626 Added drop shadow to fog, and optimized it with caching 2021-01-02 12:17:27 +11:00
Mitchell McCaffrey
6a4c6b30ec Moved peer connections to an optional pull model 2020-12-11 13:24:39 +11:00
Mitchell McCaffrey
c24133813f Replaced fog subtraction with fog cutting 2020-12-03 16:52:24 +11:00
Mitchell McCaffrey
309870247b Moved map loading overlay to be full screen width 2020-11-27 11:37:15 +11:00
Mitchell McCaffrey
6fedcc171d Added note edit flags 2020-11-05 16:21:52 +11:00
Mitchell McCaffrey
8873e59205 Added sorting to notes 2020-11-05 15:39:56 +11:00
Mitchell McCaffrey
a6085599dd Added note removal 2020-11-05 14:41:33 +11:00
Mitchell McCaffrey
dcdbb1ea98 Removed modes from note tool 2020-11-05 12:28:28 +11:00
Mitchell McCaffrey
a3ae3471e8 Added note menu and note text 2020-11-04 15:03:34 +11:00
Mitchell McCaffrey
6c1d952855 Added basic persistance to notes 2020-11-03 17:15:39 +11:00
Mitchell McCaffrey
84af4c5845 Removed unused props from map drawing and fog 2020-11-03 16:38:26 +11:00
Mitchell McCaffrey
9fbd0d2a9d Added notes tool setup 2020-11-03 16:21:39 +11:00
Mitchell McCaffrey
e92a9acb5a Added grid inset to map snapping 2020-10-09 14:50:51 +11:00
Mitchell McCaffrey
3e5478f7a8 Changed grid scale and offset to inset and added grid editor 2020-10-02 17:53:23 +10:00
Mitchell McCaffrey
539f216cfe Added grid scale and offset to maps and refactored into grid object 2020-10-02 15:19:10 +10:00
Mitchell McCaffrey
fb536f4cd8 Fix file not found error when switching between maps with custom tokens 2020-09-11 17:30:44 +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
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
602631f9b1 Added a saved settings system that uses localstorage and versioning 2020-08-07 17:15:16 +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
d20be94059 Restructured dice so it is part of the party
Added initial networking plumbing
2020-08-05 16:34:26 +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
c6f9b29cc3 Added simple pointer tool 2020-07-28 17:59:26 +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
61a2e1ac8d Disabled map select when loading a map 2020-07-17 15:57:52 +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
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
cac2af1608 Added line tool 2020-06-25 08:47:53 +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
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
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
faddf03ecf Added show map grid option to maps 2020-05-31 16:25:05 +10:00