Commit Graph

62 Commits

Author SHA1 Message Date
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
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
90e6e43c1d Merge branch 'release/v1.3.0' into feature/dice 2020-05-25 19:29:11 +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
bbb9279228 Fix undefined error in token state sort 2020-05-24 13:32:49 +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
a8bd5ab672 Added is vehicle checkbox and vehicle type tokens 2020-05-22 20:43:07 +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
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
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
118878d9e1 Readded map token remove 2020-05-21 22:57:44 +10:00
Mitchell McCaffrey
5b70f69fb7 Moved map and map tokens to Konva 2020-05-21 16:46:50 +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
04794eddc1 Added token transition for when an other user moves a token 2020-05-18 19:21:29 +10:00
Mitchell McCaffrey
0a71609105 Added babylonjs, ammojs, dice models and simple dice interaction 2020-05-08 12:56:36 +10:00
Mitchell McCaffrey
86450a04db Added loading spinner to map load 2020-04-30 22:08:03 +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
88b4785307 Moved undo and redo into tool settings and implemented it for fog 2020-04-30 09:29:16 +10:00
Mitchell McCaffrey
ccaa51fe84 Moved back to always showing controls and removed option to disable map change 2020-04-29 21:32:23 +10:00
Mitchell McCaffrey
4b9b06395d Added map fog permissions 2020-04-29 21:12:57 +10:00
Mitchell McCaffrey
aeb33058bb Added erase all back in 2020-04-29 20:55:52 +10:00
Mitchell McCaffrey
5357b79e70 Added fog toggle 2020-04-29 20:40:34 +10:00
Mitchell McCaffrey
5e2c178118 Separated map drawing and map fog into separate action lists 2020-04-28 22:05:47 +10:00
Mitchell McCaffrey
c73b099567 Re-added grid settings to fog tools 2020-04-28 17:03:17 +10:00