Commit Graph

116 Commits

Author SHA1 Message Date
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
Mitchell McCaffrey
cce339224b Added default map inset and grid size heuristic 2020-10-08 19:20:14 +11:00
Mitchell McCaffrey
e171d5f30e Increased map max zoom 2020-10-02 18:47:46 +10:00
Mitchell McCaffrey
54a60d6c76 Fix map interaction 2020-10-02 13:44:15 +10:00
Mitchell McCaffrey
f783a9bb70 Refactored konva map interaction and map image source 2020-10-02 13:35:50 +10:00
Mitchell McCaffrey
f28d1b6690 Added search and groups to token select, refactored map search and group 2020-10-01 22:32:21 +10:00
Mitchell McCaffrey
a67ff4f407 Added keyBy and groupBy helpers 2020-10-01 15:05:06 +10:00
Mitchell McCaffrey
b7a89a4a4a Refactored keyboard shortcuts to be global and not dependent on map interaction 2020-09-30 13:26:39 +10:00
Mitchell McCaffrey
d0002431c5 Added fake storage shim for local and session storage 2020-09-08 12:35:31 +10:00
Mitchell McCaffrey
109306f3e4 Fix party join attempt with a connection issue on the home screen 2020-08-28 20:21:03 +10:00
Mitchell McCaffrey
94ff07a2ca Changed number of segments for map pointer 2020-08-12 11:03:37 +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
602631f9b1 Added a saved settings system that uses localstorage and versioning 2020-08-07 17:15:16 +10:00
Mitchell McCaffrey
76cad29f2b Added snap to grid option to map settings 2020-08-07 12:28:50 +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
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
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
81897faef0 Added client side validation for join party and fix session error handling not removing conenction 2020-07-20 20:54:21 +10:00
Mitchell McCaffrey
f25261d70b Fix data channel support for data request replys and added token channel support 2020-07-17 15:39:45 +10:00
Mitchell McCaffrey
fc76e3690a Refactored session management to allow for decoupled network and game routes 2020-07-16 17:27:39 +10:00
Mitchell McCaffrey
25aa24199b Basic implementation of data channel multiplexing 2020-07-16 10:58:30 +10:00
Mitchell McCaffrey
b1d542d170 Removed log in peer 2020-07-15 17:16:17 +10:00
Mitchell McCaffrey
c66e459524 Added console logs to debug map loading 2020-07-13 22:27:07 +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
22a577bcc7 Removed empty console log in konva helper 2020-06-28 16:51:32 +10:00
Mitchell McCaffrey
bf022e2686 Added progress indicator to map data loading 2020-06-28 12:28:58 +10:00
Mitchell McCaffrey
75e2a591b3 Added error handling for peer errors when socket is fine 2020-06-28 09:58:07 +10:00
Mitchell McCaffrey
f301a58c12 Added is empty helper function 2020-06-27 11:18:10 +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
96a100c02a Fix divide by zero on triangle shapes 2020-06-24 09:27:36 +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
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
49787b560d Added automatic party re-join for network error
and fixed bug with connections not being destroyed with network failure
2020-06-16 20:09:24 +10:00
Mitchell McCaffrey
f4d71cd6bf Add support for holes in fog subtraction 2020-06-14 12:27:05 +10:00
Mitchell McCaffrey
98543f60eb Added log image helper function 2020-05-31 15:35:03 +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
c99e5bf5f8 Adjusted dice mass and friction and added velocity window for dice throwing 2020-05-26 10:57:12 +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
8b0013be08 Enable ICE trickling for faster connections 2020-05-22 22:22:22 +10:00