Commit Graph
97 Commits
Author SHA1 Message Date
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
Mitchell McCaffrey 0304236558 Removed unused draw functions 2020-05-22 18:21:21 +10:00
Mitchell McCaffrey d26932d17c Added back map drawing 2020-05-22 13:47:11 +10:00
Mitchell McCaffrey 5b70f69fb7 Moved map and map tokens to Konva 2020-05-21 16:46:50 +10:00
Mitchell McCaffrey 3f959fd3a3 Added unknown token for when a token in use is deleted 2020-05-20 11:35:14 +10:00
Mitchell McCaffrey dd13208424 Changed blob to buffer fallback 2020-05-08 19:28:15 +10:00
Mitchell McCaffrey 79b46e0b5a Moved urls to environment and turn server retreval 2020-05-03 23:18:45 +10:00
Mitchell McCaffrey d075ab5faa Removed unused code 2020-05-03 18:40:31 +10:00
Mitchell McCaffrey 05d5c76c86 Moved to msgpack instead of js-binarypack 2020-05-03 10:44:26 +10:00
Mitchell McCaffrey ca0240351c Moved to storing maps as uint arrays instead of blobs 2020-05-01 17:37:01 +10:00
Mitchell McCaffrey bf9c87341a Moved to new socket server 2020-04-30 21:58:14 +10:00
Mitchell McCaffrey d066b262fa Implemented own blob to buffer function, fixed permission bug by creating copy of map file 2020-04-30 14:24:03 +10:00
Mitchell McCaffrey 9975f564fa Added map context to scale simplification by map scale
Added distance to quadratic functions to vector
2020-04-29 18:21:44 +10:00
Mitchell McCaffrey 3e5a80e7d1 Fixed shape drawing on different aspect ratio images 2020-04-29 11:04:33 +10:00
Mitchell McCaffrey abf75f1566 Added smoothing to freehand fog 2020-04-29 09:42:58 +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 b34a7df443 Added fog edge snapping 2020-04-28 17:04:31 +10:00
Mitchell McCaffrey cd4573770e Removed old gesture data 2020-04-28 17:02:41 +10:00
Mitchell McCaffrey b3bf3c3598 Made grid snapping have a threshold and removed the option to toggle it on and off 2020-04-28 11:31:01 +10:00
Mitchell McCaffrey 734b966a53 Moved drawing functions into the drawing helper 2020-04-28 11:04:54 +10:00