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
Mitchell McCaffrey
81f84d8a19
Added shape drawing and more vector helper functions
2020-04-27 21:39:21 +10:00
Mitchell McCaffrey
2cf93ab77f
Added UI elements for the new drawing system
...
Removed old gesture system
Refactored map interaction into separate component
2020-04-27 17:29:46 +10:00
Mitchell McCaffrey
7baf808079
Moved nickname into auth and user data into db
2020-04-26 17:59:46 +10:00
Mitchell McCaffrey
a07b95ec2d
reload maps every time the select map modal is opened
2020-04-26 17:12:15 +10:00
Mitchell McCaffrey
4c667e9c5f
Added name to map and added default props
2020-04-26 12:26:32 +10:00
Mitchell McCaffrey
db8e0c14fb
Fix bug with map staying live after deletion
2020-04-24 16:18:17 +10:00
Mitchell McCaffrey
ed8f3bd283
Moved maps and tokens to a data source model
...
This will allow for easier custom token support as well as changing default tokens
2020-04-24 15:50:05 +10:00
Mitchell McCaffrey
25b215d4e4
Added map state to the database
2020-04-23 17:23:34 +10:00
Mitchell McCaffrey
8a9c50f44c
Fix circle gesture on non square images
2020-04-21 20:06:52 +10:00
Mitchell McCaffrey
3c204377d6
Added a new method for calculating the gesture triangle shape
...
and moved gesture data to a separate file
2020-04-21 17:05:38 +10:00
Mitchell McCaffrey
8f1bcf3806
Added more training data for gesture recognizer
2020-04-21 13:31:55 +10:00
Mitchell McCaffrey
ce1a252b2e
Moved to a more compact representation of other gesture shapes in the shape data
...
Also renamed square to rectangle
2020-04-21 10:04:26 +10:00
Mitchell McCaffrey
d2474ae198
Added brush blending and brush gesture options
2020-04-20 23:52:21 +10:00
Mitchell McCaffrey
d4f8433bb1
Added brush grid snapping
2020-04-20 15:17:56 +10:00
Mitchell McCaffrey
ef369f4866
Added more color options to map colors
2020-04-20 10:40:53 +10:00
Mitchell McCaffrey
3922d1f474
Moved status color helper to general color helper
2020-04-20 10:28:40 +10:00
Mitchell McCaffrey
64f284ebb7
Added nickname to local storage
2020-04-15 20:18:59 +10:00
Mitchell McCaffrey
2ceec9cfec
Added authentication handling
2020-04-14 16:05:44 +10:00
Mitchell McCaffrey
021d794d67
Removed too verbose error messages in UI
...
Updated FAQ
Handled connection closure on refresh
2020-04-14 11:49:45 +10:00
Mitchell McCaffrey
441e589ec3
Added token status rings
2020-04-13 23:42:18 +10:00
Mitchell McCaffrey
5575e985dc
Fix effect dependency
2020-04-13 10:32:26 +10:00
Mitchell McCaffrey
cb93922d59
Added initial token label
...
Added token pop up menu
Added token label
Added better token positioning
Split tokens into list and map variants
Moved size input to more generic number input
Changed game handler names to be more consistent
2020-04-13 00:24:03 +10:00
Mitchell McCaffrey
da0f80316c
Refactored useSession to properly handle peer events
...
Added indicator of what connection errored
2020-04-11 20:42:13 +10:00
Mitchell McCaffrey
a0e6235f72
Added on screen error banner and FAQ section for connection issues
2020-04-10 10:55:44 +10:00
Mitchell McCaffrey
2f18222e99
Moved to audio only, handled stream closure and added mute button to name
2020-04-08 19:56:14 +10:00
Mitchell McCaffrey
0bd1e86e48
Added simple stream sharing
2020-04-08 15:01:17 +10:00
Mitchell McCaffrey
a905ce378b
Fixed site loading in older versions of safari
2020-04-07 12:48:10 +10:00
Mitchell McCaffrey
ac9189c606
Added a sync option when connecting to peers
...
Optimises the user join time by not sending the image data multiple times
2020-04-06 14:33:22 +10:00
Mitchell McCaffrey
4a86fc1daf
Changed socket url
2020-04-06 12:39:32 +10:00
Mitchell McCaffrey
af202fb19b
fixed party names only showing two members
2020-04-06 00:20:17 +10:00
Mitchell McCaffrey
8361d6eb0b
Moved to simple peer
2020-04-05 22:20:34 +10:00
Mitchell McCaffrey
7ac13c1145
Removed safari work around for data connection and added cleaner nickname syncing
2020-03-26 19:50:14 +11:00
Mitchell McCaffrey
f8d992fa91
Fix data only connections in safari from working and fixed sync bug
2020-03-26 17:53:15 +11:00
Mitchell McCaffrey
54c7100c2c
Removed video and added text
2020-03-26 12:24:52 +11:00
Mitchell McCaffrey
30e957e937
Changed video max width
...
Co-Authored-By: nthouliss <nthouliss@users.noreply.github.com>
2020-03-25 13:52:01 +11:00
Mitchell McCaffrey
1bd9613dd2
Added logs for errors
...
Co-Authored-By: nthouliss <nthouliss@users.noreply.github.com>
2020-03-25 13:17:55 +11:00
Mitchell McCaffrey
3c82d1954b
Fixed bug with connections being re-done every re-render and added logs
...
Co-Authored-By: nthouliss <nthouliss@users.noreply.github.com>
2020-03-25 12:59:21 +11:00
Nicola
29d868d5f5
Restrict frame-rate on video stream
2020-03-24 22:46:51 +11:00
Nicola
86f82c1247
Improve connection and sync handling
2020-03-24 22:46:29 +11:00
Mitchell McCaffrey
5042f203cd
Added removal of streams whe they close or error
2020-03-20 21:57:37 +11:00
Mitchell McCaffrey
82d750eca7
Added token moving and removing on map
2020-03-20 13:33:12 +11:00
Mitchell McCaffrey
81d311eb7f
Added token dragging from side bar into map view
2020-03-20 11:05:40 +11:00
Mitchell McCaffrey
8759c55eee
Fixed bug with videos getting deleted when there is more than one
2020-03-19 12:59:01 +11:00
Mitchell McCaffrey
fb43cc3fc2
Added video calling
2020-03-19 12:02:31 +11:00
Mitchell McCaffrey
25ee35de44
Added option on initial connection to decide whether a sync is needed
2020-03-18 14:44:43 +11:00
nicola
8a48415367
Implement image sending to peers
...
co-authored-by: mitchemmc <mitchemmc@gmail.com>
2020-03-17 21:11:23 +11:00
Mitchell McCaffrey
d88eefc3a7
Implemented session management in game route
2020-03-17 20:09:23 +11:00