Mitchell McCaffrey
145b08d93f
Added dice tray mesh
2020-05-10 16:13:15 +10:00
Mitchell McCaffrey
d8111de6cc
Changed other dice icons to make different dice types temporarily
2020-05-10 16:11:23 +10:00
Mitchell McCaffrey
fbad2cfa46
Added dice add icons and moved dice tray controls to seperate component
2020-05-08 17:08:47 +10:00
Mitchell McCaffrey
fee7a270e4
Added expand controls to map dice
2020-05-08 15:09:40 +10:00
Mitchell McCaffrey
07e85f46a3
Move dice to overlay and move map interaction to prevent map movement while interacting with dice
2020-05-08 14:22:02 +10:00
Mitchell McCaffrey
0a71609105
Added babylonjs, ammojs, dice models and simple dice interaction
2020-05-08 12:56:36 +10:00
Mitchell McCaffrey
7676797337
Added release notes, markdown renderer and converted FAQ to markdown
2020-05-07 22:29:31 +10:00
Mitchell McCaffrey
9e4cbbfb75
Added anchor tags to faq links
2020-05-03 18:30:01 +10:00
Mitchell McCaffrey
60059ff447
Added database faker for when indexedb is disabled
...
Database is now in a context with a status
New FAQ for indexdb errors
2020-05-03 18:22:09 +10:00
Mitchell McCaffrey
86450a04db
Added loading spinner to map load
2020-04-30 22:08:03 +10:00
Mitchell McCaffrey
ce11021e9f
Fix bug with dropping token onto empty map
2020-04-30 16:40:17 +10:00
Mitchell McCaffrey
eed8f63b84
Upped fog stroke width
2020-04-30 16:28:06 +10:00
Mitchell McCaffrey
8c304c76e5
Adjusted map zoom speed
2020-04-30 16:16:12 +10:00
Mitchell McCaffrey
c0d04ea6fa
Added normalization to the map mouse zoom
2020-04-30 15:45:20 +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
23e42aa115
Center map tile text
2020-04-30 14:42:15 +10:00
Mitchell McCaffrey
58bee3085d
Added owner to map and token keys, added map cache
2020-04-30 11:25:33 +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
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
6e48d7d4e2
Fix drawing erase while on controls and brush type switch bug
2020-04-29 09:25:56 +10:00
Mitchell McCaffrey
aac11790e2
Added stop progagation to map controls to stop drawing empty shapes
2020-04-28 22:06:20 +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
c73b099567
Re-added grid settings to fog tools
2020-04-28 17:03:17 +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
581ddf12aa
Added smoothing to path drawing
2020-04-28 10:33:09 +10:00
Mitchell McCaffrey
c3ed55e5e8
Fixed erase for stroked paths
2020-04-28 10:14:45 +10:00
Mitchell McCaffrey
81f84d8a19
Added shape drawing and more vector helper functions
2020-04-27 21:39:21 +10:00
Mitchell McCaffrey
e08dc60f5f
Cleaned map interaction props and changed drawing interaction handle
2020-04-27 17:40:36 +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
3112890fd3
Fixed settings update delay
2020-04-26 20:48:01 +10:00
Mitchell McCaffrey
079f3704d4
Fix performance issues with settings map name change
2020-04-26 19:45:36 +10:00
Mitchell McCaffrey
f371a62a04
Fix memory async error with map tile double click and default map selection bug
2020-04-26 19:22:30 +10:00
Mitchell McCaffrey
29f13262ff
Adjusted spacing on map settings
2020-04-26 19:21:44 +10:00
Mitchell McCaffrey
adfd5b07a3
Removed unused import
2020-04-26 19:21:25 +10:00
Mitchell McCaffrey
4f5f4706c6
Added light theme
2020-04-26 19:04:18 +10:00
Mitchell McCaffrey
506f0287ab
Fix map controls divider
2020-04-26 19:03:57 +10:00
Mitchell McCaffrey
b691842a21
Fixed key issue with fragment
2020-04-26 18:33:28 +10:00
Mitchell McCaffrey
1efd918af4
Added settings modal and reset data
2020-04-26 18:24:05 +10:00
Mitchell McCaffrey
7baf808079
Moved nickname into auth and user data into db
2020-04-26 17:59:46 +10:00
Mitchell McCaffrey
297669173a
Added a show more toggle to map settings
2020-04-26 17:25:04 +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
fbdb68596e
Added permissions functionality
2020-04-26 14:34:27 +10:00
Mitchell McCaffrey
4c65aac189
Added map name and map state edit flags to map settings
2020-04-26 13:47:54 +10:00
Mitchell McCaffrey
010d637e0e
Refactored map settings
2020-04-26 12:57:36 +10:00
Mitchell McCaffrey
30e4a4c73f
Added name display to tile
2020-04-26 12:39:56 +10:00
Mitchell McCaffrey
6e8cb833aa
Moved map tiles to simple scroll
2020-04-25 00:42:23 +10:00
Mitchell McCaffrey
4eec22d922
Merge branch 'master' into feature/multi-map
2020-04-25 00:11:13 +10:00
Mitchell McCaffrey
e705ab2706
Fix nested a tag
2020-04-25 00:10:53 +10:00
Mitchell McCaffrey
485595f7c8
Merge branch 'master' into feature/multi-map
2020-04-25 00:08:54 +10:00
Mitchell McCaffrey
ad7c1fc8c7
Moved to browser routing
2020-04-25 00:02:06 +10:00
Mitchell McCaffrey
ece974c5d9
Split tokens into data and state to avoid data duplication
2020-04-24 18:39:11 +10:00
Mitchell McCaffrey
a4e1a898ad
Send a map clear before replace to ensure new state isn't show on old image
2020-04-24 16:18:48 +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
98798235c9
Added quick map select with double click
2020-04-23 22:12:50 +10:00
Mitchell McCaffrey
5539fcf16a
Fix selectMapButton name and a bug with deleting a map that isn't the current one
2020-04-23 21:54:58 +10:00
Mitchell McCaffrey
10c259a6b3
Added state to default maps and added clear state option to map tile
2020-04-23 20:32:33 +10:00
Mitchell McCaffrey
6f0df1c674
Made the add map icon larger and changed to select map
2020-04-23 18:01:40 +10:00
Mitchell McCaffrey
25b215d4e4
Added map state to the database
2020-04-23 17:23:34 +10:00
Mitchell McCaffrey
071cd3ea7f
Added an indexedb database to store uploaded maps into
2020-04-23 15:02:03 +10:00
Mitchell McCaffrey
8681864ddc
Added sending of default maps
2020-04-23 13:31:54 +10:00
Mitchell McCaffrey
22c5b5cf75
Added multiple map layout and basic data flow
2020-04-23 11:54:29 +10:00
Mitchell McCaffrey
f2a92f2ccd
Refactored component folder structure to be a little clearer
2020-04-23 10:09:12 +10:00
Mitchell McCaffrey
0e8e4a45d5
Added check for null gesture
2020-04-21 20:03:56 +10:00
Mitchell McCaffrey
96efcfd5de
Fix bug with concurrent token updates
2020-04-21 18:01:45 +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
a5011b58ac
Added aria-labels to color pickers
2020-04-20 23:54:07 +10:00
Mitchell McCaffrey
d2474ae198
Added brush blending and brush gesture options
2020-04-20 23:52:21 +10:00
Mitchell McCaffrey
36c3e76403
Moved map controls again
2020-04-20 17:30:59 +10:00
Mitchell McCaffrey
06d232f058
Move map menu from right side a little
2020-04-20 17:28:30 +10:00
Mitchell McCaffrey
0a1aed30b3
Fixed a possible bug with callbacks and map menus
...
also made it so clicking on a map control button with a sub menu open will close it
2020-04-20 17:25:40 +10:00
Mitchell McCaffrey
35523fd8ce
Fix grid off and on icons not being selectable
2020-04-20 16:45:33 +10:00
Mitchell McCaffrey
0b7c8d6c56
Added map grid size detection from file name
2020-04-20 16:34:38 +10:00
Mitchell McCaffrey
eeaa250ca2
Added background color to menu to make it easier to see on a light background
2020-04-20 15:47:52 +10:00
Mitchell McCaffrey
06f5d3ab42
Added auto switch away from a disabled tool
2020-04-20 15:31:54 +10:00
Mitchell McCaffrey
77df9b6f35
Added icon to erase all submenu
2020-04-20 15:26:36 +10:00
Mitchell McCaffrey
d4f8433bb1
Added brush grid snapping
2020-04-20 15:17:56 +10:00
Mitchell McCaffrey
6fb2e9f113
Changed map data grid size labelling and fixed ui labels
2020-04-20 14:49:38 +10:00
Mitchell McCaffrey
91537a9477
Fixed interactjs events from being defined multiple times
2020-04-20 13:41:11 +10:00
Mitchell McCaffrey
91c95b4fad
Added prevention from drawing single point shapes
2020-04-20 13:03:54 +10:00
Mitchell McCaffrey
f5d1cdf60f
Added map control submenus for brush color and erase all
2020-04-20 11:56:56 +10:00
Mitchell McCaffrey
27d3903e66
Refactored token menu overlay into two components
2020-04-20 10:56:51 +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
aa36ad9463
Moved to tap event for token menu popup
2020-04-19 18:46:10 +10:00
Mitchell McCaffrey
bc5728ffa1
Moved map tokens above drawing and fixed token interaction bug
2020-04-19 17:57:49 +10:00
Mitchell McCaffrey
e366d88f7e
Added cursor for different tools, allowed panning to work on touch while drawing
...
Stopped double tap to reset zoom while not on pan tool
2020-04-19 17:39:56 +10:00
Mitchell McCaffrey
04e4bf3f29
Added touch support for map drawing
2020-04-19 17:39:26 +10:00
Mitchell McCaffrey
ad236d6e6a
Added network sync to drawing
2020-04-19 15:15:48 +10:00
Mitchell McCaffrey
9f97cf3bb4
Moved to setting map transform directly instead of using state to avoid re-renders
2020-04-19 13:34:07 +10:00
Mitchell McCaffrey
24de41fee7
Added undo and redo and map control validation
2020-04-19 13:33:31 +10:00
Mitchell McCaffrey
4555c9bf71
Added basic drawing control
2020-04-19 00:24:06 +10:00
Mitchell McCaffrey
c12abf5706
Added map controls component and moved to seperate files for icons
2020-04-18 23:31:40 +10:00
Mitchell McCaffrey
ecaf82fd53
Added point simplification with simplify-js
2020-04-18 19:09:48 +10:00
Mitchell McCaffrey
f472f03616
Removed twojs as I wasnt really using it anyway
2020-04-18 18:54:13 +10:00
Mitchell McCaffrey
e2daf1a595
Added twojs and basic map drawing
2020-04-18 18:11:21 +10:00
Mitchell McCaffrey
279d83122f
Added drag and drop support to map upload
2020-04-15 21:15:16 +10:00
Mitchell McCaffrey
a3b32adbdd
Added padding to banner to stop X from overlapping text
2020-04-15 12:48:46 +10:00
Mitchell McCaffrey
29a0851c08
Added a loading spinner
2020-04-14 17:36:25 +10:00
Mitchell McCaffrey
2ceec9cfec
Added authentication handling
2020-04-14 16:05:44 +10:00
Mitchell McCaffrey
7b7435f55a
Add a check for map bounds in token menu
...
Removed hard coded dead zones in proxy token
2020-04-14 09:41:10 +10:00
Mitchell McCaffrey
441e589ec3
Added token status rings
2020-04-13 23:42:18 +10:00
Mitchell McCaffrey
5c0272fc2d
Moved join screen to a modal
2020-04-13 18:29:46 +10:00
Mitchell McCaffrey
bcf9f94c24
Refactored buttons and modals to be separate
2020-04-13 18:15:00 +10:00
Mitchell McCaffrey
a1e85e490b
Added token label to proxy token
2020-04-13 11:22:10 +10:00
Mitchell McCaffrey
2595c3be4b
Fix token label and map token stretch properly
2020-04-13 11:21:47 +10:00
Mitchell McCaffrey
a6da90782b
Removed log
2020-04-13 11:21:23 +10:00
Mitchell McCaffrey
df0054eaf6
Fix map zoom on safari and remove unneeded scroll behaviour setting
2020-04-13 10:33:49 +10:00
Mitchell McCaffrey
974e1d5792
Fix token label position with large tokens
2020-04-13 10:32:42 +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
aed9c06dc6
Added back in (you) text to your nickname
2020-04-11 17:03:45 +10:00
Mitchell McCaffrey
d8ddcd2cd5
Added ios safe area to banners
2020-04-10 11:09:44 +10:00
Mitchell McCaffrey
10e7493e5c
Changed font sizes for more readibility
2020-04-10 10:56:09 +10:00
Mitchell McCaffrey
f3426e33ef
Refactored stream from nickname component
2020-04-10 09:36:56 +10:00
Mitchell McCaffrey
5af96a211b
Changed style on modal to allow for scroll if needed
2020-04-09 22:48:21 +10:00
Mitchell McCaffrey
e6658324de
Added content to FAQ page for audio sharing
2020-04-09 21:56:02 +10:00
Mitchell McCaffrey
85f4a9b41b
Moved zoom bindings for the map to stop double zoom on trackpads
...
Also added toggle for overscroll behaviour when not in map
2020-04-09 18:20:10 +10:00
Mitchell McCaffrey
9b4aa07a79
Added footer and blank FAQ and About pages
2020-04-09 18:19:07 +10:00
Mitchell McCaffrey
296401f472
Updated stream to only show interaction banner when autoplay was unsuccesful
2020-04-09 14:24:52 +10:00
Mitchell McCaffrey
1afc8b8d68
Defaulted to muting stream and showing banner to unmute
2020-04-09 13:39:25 +10:00
Mitchell McCaffrey
4b0336fa9d
Default stream mute on play
2020-04-09 12:22:43 +10:00
Mitchell McCaffrey
1c978c999c
Removed stream component and set muted state when stream is loaded
2020-04-09 12:12:53 +10:00
Mitchell McCaffrey
975ebffe27
Change add party member and nickname modal to match stream
2020-04-09 11:54:40 +10:00
Mitchell McCaffrey
cebf28c568
Removed autoplay and trigerred play with script
2020-04-09 11:48:15 +10:00
Mitchell McCaffrey
502214c1f5
Increased party width and mute icon size
2020-04-09 11:41:48 +10:00
Mitchell McCaffrey
53bf0e9659
Added proper dom representations to Text elements and increased party text size
2020-04-09 11:30:48 +10:00
Mitchell McCaffrey
0f4a5caf94
Change add party memeber icon and added titles to icon buttons
2020-04-09 11:12:46 +10:00
Mitchell McCaffrey
84f201858a
Added modal to radio and added error feedback in it
2020-04-09 10:36:28 +10:00
Mitchell McCaffrey
8c5d58ae93
Unused import
2020-04-08 21:43:41 +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
81c3e69932
Moved nickname and stream button
2020-04-08 17:00:56 +10:00
Mitchell McCaffrey
0bd1e86e48
Added simple stream sharing
2020-04-08 15:01:17 +10:00
Mitchell McCaffrey
fb857607db
Added simplebar for more consistent scroll bars between mac and windows
2020-04-07 18:18:08 +10:00
Mitchell McCaffrey
a905ce378b
Fixed site loading in older versions of safari
2020-04-07 12:48:10 +10:00
Mitchell McCaffrey
a6835b706c
Removed unused import
2020-04-07 12:05:30 +10:00
Mitchell McCaffrey
134a8f56ac
Added aria-label to nickname input
2020-04-07 11:47:27 +10:00
Mitchell McCaffrey
3bd8fce6ab
Added custom sizing support
2020-04-07 11:47:06 +10:00
Mitchell McCaffrey
9cf4c14c14
Changed nickname change modal styling and added link in add party modal
2020-04-06 15:51:05 +10:00
Mitchell McCaffrey
bd5cfbbd4b
Added nickname editing
2020-04-06 15:38:36 +10:00
Mitchell McCaffrey
8361d6eb0b
Moved to simple peer
2020-04-05 22:20:34 +10:00
Mitchell McCaffrey
c1d4e09cb3
Added a reset for the map when the source is changed
2020-03-26 15:43:52 +11:00
Mitchell McCaffrey
974e39a2e6
Fixed proxy token size being wrong on map view
2020-03-26 15:07:27 +11:00
Mitchell McCaffrey
7c07caa70d
Fixed layout and interaction for mobile
2020-03-26 14:53:02 +11:00
Mitchell McCaffrey
4e94567f52
Fixed error in map
2020-03-26 13:26:20 +11:00
Mitchell McCaffrey
b062f93966
Removed message and put in nicknames
2020-03-26 13:26:10 +11:00
Mitchell McCaffrey
54c7100c2c
Removed video and added text
2020-03-26 12:24:52 +11:00
Mitchell McCaffrey
15d43e101e
Fix spelling error in inline video playback
2020-03-20 22:49:25 +11:00
Mitchell McCaffrey
67b8c035bb
Added playsinline to stop iphone video from fullscreening
2020-03-20 22:46:06 +11:00
Mitchell McCaffrey
91c7c9f9ad
Added pan and zoom to map
2020-03-20 21:46:52 +11:00
Mitchell McCaffrey
980462b109
Changed styled to be more subdued, added bear image and icons
2020-03-20 20:29:35 +11:00
Mitchell McCaffrey
d1b1780763
Added a social view and a switch between the new view and the old
2020-03-20 19:19:46 +11:00
Mitchell McCaffrey
8b412ad482
Moved change map button to map component and centered it
2020-03-20 18:06:24 +11:00
Mitchell McCaffrey
33ea19fef6
Moved tokens to be relatively positioned and scaled to the current map
2020-03-20 17:56:34 +11:00
Mitchell McCaffrey
c25566f682
Removed unused variable
2020-03-20 14:49:40 +11:00
Mitchell McCaffrey
247505bb93
Refactored modal, added popup for image selection and changed map data layout
2020-03-20 14:48:46 +11:00
Mitchell McCaffrey
a75cbb0c56
Added margins to videos and added scroll to party video
2020-03-20 13:44:22 +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
a22b3231fb
Added token images
2020-03-19 21:40:29 +11:00
nicola
f2c3a12856
Edit files for formatting
...
co-authored-by: mitchemmc <mitchemmc@gmail.com>
2020-03-19 18:58:37 +11:00
nicola
8989268094
Add join functionality to party
...
co-author-by: mitchemmc <mitchemmc@gmail.com>
2020-03-19 18:56:42 +11:00
Mitchell McCaffrey
05cf20fe8b
Added styling
...
co-authored-by: nthouliss <nthouliss@gmail.com>
2020-03-19 17:33:57 +11:00
nicola
e92129d8ea
Add audio functionality to videos
...
co-authored-by: mitchemmc <mitchemmc@gmail.com>
2020-03-19 15:07:14 +11:00
Mitchell McCaffrey
fb43cc3fc2
Added video calling
2020-03-19 12:02:31 +11:00
nicola
bc93b01a90
Implement draggable tokens in Game.js
...
co-authored-by: mitchemmc <mitchemmc@gmail.com>
2020-03-17 22:16:27 +11:00