Commit Graph

163 Commits

Author SHA1 Message Date
Mitchell McCaffrey
852d5bce81 Added force update option to useNetworkedState 2021-01-03 16:45:55 +11:00
Mitchell McCaffrey
d1315b3425 Added a larger layout for map and token select and edit 2021-01-03 14:53:06 +11:00
Mitchell McCaffrey
f8a2a1ece5 Added more checks to stage interaction 2021-01-03 12:34:01 +11:00
Mitchell McCaffrey
02ecf9bffc Changed useNetworkState to implement a partial update mechanism 2021-01-03 10:45:24 +11:00
Mitchell McCaffrey
858c489980 Update useNetworkedState.js 2021-01-03 09:18:42 +11:00
Mitchell McCaffrey
815ca6bbe1 Added handling of uncommitted changes to networked state 2021-01-02 23:59:21 +11:00
Mitchell McCaffrey
651b0d7c6c Added konva array convert helper 2021-01-02 18:01:16 +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
dfe8f0f53b Updated black color 2021-01-02 09:31:06 +11:00
Mitchell McCaffrey
ec3aa6ea11 Fix network state order bug 2021-01-01 13:25:19 +11:00
Mitchell McCaffrey
dd308ecab0 Added debounce to useNetworkedState 2021-01-01 13:06:56 +11:00
Mitchell McCaffrey
b9876c6a38 Fix offline mode and move to optional chaining for session socket 2021-01-01 12:44:56 +11:00
Mitchell McCaffrey
501fc4377c Optimised pointer 2020-12-31 17:56:51 +11:00
Mitchell McCaffrey
6a4c6b30ec Moved peer connections to an optional pull model 2020-12-11 13:24:39 +11:00
Mitchell McCaffrey
b40f78042f Moved party to use socket networking 2020-12-08 15:58:01 +11:00
Mitchell McCaffrey
f2cb8b69db Moved to socket for game state networking 2020-12-05 17:16:06 +11:00
Mitchell McCaffrey
c24133813f Replaced fog subtraction with fog cutting 2020-12-03 16:52:24 +11:00
Mitchell McCaffrey
5ae6f0bc1b Added logging and preview options to .env 2020-12-03 12:29:33 +11:00
Mitchell McCaffrey
9fa8667081 Fix crash with interacting with page while loading 2020-11-27 12:02:00 +11:00
Mitchell McCaffrey
61d6a7bb85 Disabled sentry 2020-11-21 16:08:26 +11:00
Mitchell McCaffrey
4c301604fc Added alternating diagonals map measurement 2020-11-20 12:00:59 +11:00
Mitchell McCaffrey
9a1a98ce9f Merge branch 'master' into release/v1.7.0 2020-11-20 08:30:09 +11:00
Mitchell McCaffrey
b6b68014ed Fix issue with drag start using old positions on touch devices 2020-11-19 14:53:07 +11:00
Mitchell McCaffrey
9853077e4f Moved max map zoom to be based off of max grid size 2020-11-07 12:40:20 +11:00
Mitchell McCaffrey
cb2c432d0a Changed min token and note scale to 0.5 and fix grid snapping for non integer values 2020-11-06 15:48:35 +11:00
Mitchell McCaffrey
9c1960ba71 Refactored getBrushPosition helper 2020-11-03 16:20:51 +11:00
Mitchell McCaffrey
251a89eaf4 Updated comment on Settings class 2020-11-03 16:17:35 +11:00
Mitchell McCaffrey
d9cd5f78cc Added manual sentry error reporting 2020-10-27 10:26:55 +11:00
Mitchell McCaffrey
8ca9c39bca Scaled pinch to zoom by stage scale 2020-10-24 09:47:53 +11:00
Mitchell McCaffrey
b2ea45d068 Fixed pinch interaction from happening on multiple canvas' at the same time 2020-10-23 13:12:46 +11:00
Mitchell McCaffrey
58fc986ca7 Added zoom centering on touch devices 2020-10-23 13:07:29 +11:00
Mitchell McCaffrey
37542dc0e6 Moved session and connection helpers and change data sending to use write streams 2020-10-23 10:27:22 +11:00
Mitchell McCaffrey
c60d495a14 Update comment 2020-10-22 16:11:44 +11:00
Mitchell McCaffrey
1d52edc775 Fixed unnecessary zoom speed increase 2020-10-22 16:11:00 +11:00
Mitchell McCaffrey
f26cbf24d2 Refactored stage zooming to center on the mouse position 2020-10-22 16:10:31 +11:00
Mitchell McCaffrey
1c79032f30 Added max zoom based off of map size and normalized wheelY by window height 2020-10-22 12:51:37 +11:00
Mitchell McCaffrey
c1e67b716c Added exception handling to ML grid detection 2020-10-22 12:07:30 +11:00
Mitchell McCaffrey
d4ccad8e0a Added bounds to grid name match 2020-10-22 12:07:06 +11:00
Mitchell McCaffrey
6cb594216e Added fallback for ML grid detection to use raw prediction 2020-10-17 21:52:41 +11:00
Mitchell McCaffrey
0235bdb7ef Added keyboard shortcuts hints to map controls 2020-10-17 09:37:39 +11:00
Mitchell McCaffrey
f41a24f8f2 Removed socket crash 2020-10-16 13:35:08 +11:00
Mitchell McCaffrey
b7aa33dd0c Test server crash 2020-10-16 13:12:59 +11:00
Mitchell McCaffrey
ccbec210e7 Fix ml map grid for safari and non divisible by 2 images 2020-10-15 16:32:04 +11:00
Mitchell McCaffrey
f21fa8fb02 Added tfjs and ml model for grid detection 2020-10-14 09:53:32 +11:00
Mitchell McCaffrey
9ff6053498 Fix deleting map not removing map from map view 2020-10-13 07:10:51 +11:00
Mitchell McCaffrey
c543f15c81 Added docs to useKeyboard 2020-10-13 06:52:42 +11:00
Mitchell McCaffrey
57ac662468 Updated grid size heuristic to use statistical model 2020-10-10 16:58:41 +11:00
Mitchell McCaffrey
b6531507a5 Updated Vector2 docs 2020-10-10 11:10:45 +11:00
Mitchell McCaffrey
e92a9acb5a Added grid inset to map snapping 2020-10-09 14:50:51 +11:00
Mitchell McCaffrey
88a529eb14 Updated grid size heuristic 2020-10-09 11:23:52 +11:00