Mitchell McCaffrey
693c2967cd
Added allow close option to banner and fixed banner min width
2020-06-16 20:08:10 +10:00
Mitchell McCaffrey
f4d71cd6bf
Add support for holes in fog subtraction
2020-06-14 12:27:05 +10:00
Mitchell McCaffrey
9eaece24e5
Added fog subtraction tool
2020-06-09 12:45:52 +10:00
Mitchell McCaffrey
74fb6a2c37
Fixed padding bottom on footer for ios
2020-05-31 18:30:23 +10:00
Mitchell McCaffrey
faddf03ecf
Added show map grid option to maps
2020-05-31 16:25:05 +10:00
Mitchell McCaffrey
a5a2c1ac77
Add fill option to divider
2020-05-31 16:24:17 +10:00
Mitchell McCaffrey
7dac49f690
Fix fog undo disabling
2020-05-31 13:56:33 +10:00
Mitchell McCaffrey
337a769fe4
Changed map and fog erase to allow for multi item selection
2020-05-31 12:12:16 +10:00
Mitchell McCaffrey
55bf9e4d03
Added multiple simultaneous map and token upload support
2020-05-31 10:53:33 +10:00
Mitchell McCaffrey
31cdbbb8dd
Fix bug with deleteing tokens that have been removed
2020-05-31 10:23:45 +10:00
Mitchell McCaffrey
7a927959d2
Fix hit test for token label and status
2020-05-29 07:50:03 +10:00
Mitchell McCaffrey
a4a8722de0
Reversed zoom direction
2020-05-29 07:36:11 +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
49c18e8cf7
Added hide in sidebar option for custom tokens
2020-05-28 16:23:20 +10:00
Mitchell McCaffrey
8864ef4494
Changed dice tray max width
2020-05-28 15:06:11 +10:00
Mitchell McCaffrey
a09e4f41ca
I lied, this should fix the dice load issue
2020-05-28 15:06:01 +10:00
Mitchell McCaffrey
25d0491374
Actually actually fix dice initial load
2020-05-28 13:56:00 +10:00
Mitchell McCaffrey
df57f09080
Actually fix dice initial load
2020-05-28 13:32:55 +10:00
Mitchell McCaffrey
a229d190e4
Fix bug where dice tray doesn't show after load
2020-05-28 13:24:33 +10:00
Mitchell McCaffrey
b8e5554058
Moved dice folder
2020-05-28 13:06:33 +10:00
Mitchell McCaffrey
1e0f767e73
Fix bug with default dice for select dice modal
2020-05-28 13:02:51 +10:00
Mitchell McCaffrey
fc8c65e525
Removed unnesasary async from createDiceInstace and simplified dice meshes to reduce spawn delay
2020-05-28 12:51:42 +10:00
Mitchell McCaffrey
2775fc6e16
Changed dice scene name and added handlers for pointer cancel and leave
2020-05-28 12:25:20 +10:00
Mitchell McCaffrey
8432176014
Fix map scroll when modal open
2020-05-28 11:52:18 +10:00
Mitchell McCaffrey
a567cee289
Disabled pointer events for dice tray results text
2020-05-27 18:41:34 +10:00
Mitchell McCaffrey
6f51fd8cbe
Fix touch highlight for dice overlay
2020-05-27 16:39:53 +10:00
Mitchell McCaffrey
0d37f8c6e3
Changed map interaction to ignore events not on the canvas
...
This removes the need for calling prevent interaction all over the code also allowed pointer events to go through the empty parts of the dice tray
2020-05-27 15:26:42 +10:00
Mitchell McCaffrey
7f0b4e32af
Separated dice loading and dice instance creation and added loading spinner for dice
2020-05-27 14:47:51 +10:00
Mitchell McCaffrey
da84f923d1
Added per dice physics properties
2020-05-27 14:01:12 +10:00
Mitchell McCaffrey
d4ec013df2
Zoom dice camera
2020-05-27 12:25:20 +10:00
Mitchell McCaffrey
cf12ff22ed
Added thickness to dice tray collision wall and roof
2020-05-27 12:04:28 +10:00
Mitchell McCaffrey
027fc480e1
Removed flex wrap from dice controls
2020-05-27 11:34:32 +10:00
Mitchell McCaffrey
b786b176b0
Added multiple dice tray sizes
2020-05-27 11:24:17 +10:00
Mitchell McCaffrey
0a5b33a69f
Removed outline when dice tray is focused
2020-05-26 17:21:50 +10:00
Mitchell McCaffrey
5a2e0a53ed
Fix map scroll with modals open
2020-05-26 15:44:41 +10:00
Mitchell McCaffrey
dec8fd3c2e
Updated dice tray icon and fixed map interaction with select dice modal open
2020-05-26 15:43:46 +10:00
Mitchell McCaffrey
84b198c851
Added dice style select
2020-05-26 14:47:37 +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
3be729d4a0
Added reset to dice physics when rerolling
2020-05-25 20:52:11 +10:00
Mitchell McCaffrey
70f68a9093
Fix dice momenent conflict on touch devices
2020-05-25 20:46:21 +10:00
Mitchell McCaffrey
fd5998ea17
Added dice tray resizing to match screen size
2020-05-25 20:37:17 +10:00
Mitchell McCaffrey
90e6e43c1d
Merge branch 'release/v1.3.0' into feature/dice
2020-05-25 19:29:11 +10:00
Mitchell McCaffrey
43b0ff3e2e
Removed double click map reset due to conflicts with other interactions
2020-05-25 18:56:46 +10:00
Mitchell McCaffrey
4b4c88f85c
Added back double click to reset map transform
2020-05-25 18:08:39 +10:00
Mitchell McCaffrey
92c14533f1
Updated pinch map gesture to support movement and fix bug with drawing while pinching
2020-05-25 17:26:36 +10:00
Mitchell McCaffrey
012086745f
Added more padding to token drag overlay to avoid problems with ios gesture bar
2020-05-25 17:25:45 +10:00
Mitchell McCaffrey
4299467757
Fix token menu open position bug with selecting the same token after movement
2020-05-25 16:35:48 +10:00
Mitchell McCaffrey
ef96f2f7c4
Reversed context menu as it was bugged with map interaction
2020-05-25 16:12:30 +10:00
Mitchell McCaffrey
6bd0cefc14
Added right click support back for token menu
2020-05-25 16:01:15 +10:00
Mitchell McCaffrey
33d7d972be
Added map loading provider to fix bugs with multiple asset loading
2020-05-25 15:34:22 +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
8932ceb1e3
Make map translation smoother by removing it from the state
2020-05-25 14:09:45 +10:00
Mitchell McCaffrey
73c7ca91fa
Fix token remove for touch devices
2020-05-25 13:12:30 +10:00
Mitchell McCaffrey
be7d6c5277
Moved to react spring for konva animations
2020-05-25 10:37:28 +10:00
Mitchell McCaffrey
b3b84d889b
Added new members to state db upgrade removed duplicated field from token state
...
Matched token default id with map default id as map can't be changed
2020-05-24 15:18:30 +10:00
Mitchell McCaffrey
bbb9279228
Fix undefined error in token state sort
2020-05-24 13:32:49 +10:00
Mitchell McCaffrey
a91f2c6d39
Added tap events for map interaction
2020-05-22 23:55:50 +10:00
Mitchell McCaffrey
5f2d282df8
Added pinch to zoom for map
2020-05-22 23:43:55 +10:00
Mitchell McCaffrey
09e423fd56
Added token animations back, edited token change event to support multiple edits
...
This stopped mounted vehicle animations from lagging
2020-05-22 22:17:30 +10:00
Mitchell McCaffrey
ef1c875088
Added token rotation
2020-05-22 21:10:05 +10:00
Mitchell McCaffrey
a8bd5ab672
Added is vehicle checkbox and vehicle type tokens
2020-05-22 20:43:07 +10:00
Mitchell McCaffrey
00c24c34a4
Added last edited by in default token state
2020-05-22 20:09:02 +10:00
Mitchell McCaffrey
6b176db914
Updated list token size to cover fit
2020-05-22 18:00:10 +10:00
Mitchell McCaffrey
a77c4158ca
Readded loading spinner for map loading and fixed infinite token size when loading
2020-05-22 17:56:03 +10:00
Mitchell McCaffrey
9f21f895ba
Disable map interaction in map selection modal
2020-05-22 17:25:17 +10:00
Mitchell McCaffrey
a6768727fe
Readded map fog
2020-05-22 17:22:32 +10:00
Mitchell McCaffrey
a81eed1a48
Added transparency for tokens that can't be dragged
2020-05-22 15:11:18 +10:00
Mitchell McCaffrey
14c9151405
Added proper cursors for the selected tool
2020-05-22 15:10:20 +10:00
Mitchell McCaffrey
d26932d17c
Added back map drawing
2020-05-22 13:47:11 +10:00
Mitchell McCaffrey
9e01ad1d0e
Simplified menu interaction prevention
2020-05-22 13:46:52 +10:00
Mitchell McCaffrey
6b675d8200
Increased token remove button size
2020-05-22 13:44:17 +10:00
Mitchell McCaffrey
d9a4b10563
Fix token resolution for high DPI screens
2020-05-22 13:44:05 +10:00
Mitchell McCaffrey
118878d9e1
Readded map token remove
2020-05-21 22:57:44 +10:00
Mitchell McCaffrey
05df26491f
Renamed remove token icon
2020-05-21 22:57:05 +10:00
Mitchell McCaffrey
8b83fb8c67
Fix key in token status
2020-05-21 21:31:44 +10:00
Mitchell McCaffrey
07a5d95e4c
Remove unused member in proxy token
2020-05-21 21:31:33 +10:00
Mitchell McCaffrey
daab80f45e
Fix prevent interaction bug in map token
2020-05-21 21:31:15 +10:00
Mitchell McCaffrey
9ace933d30
Fix no interaction bug when closing token menu with enter
2020-05-21 20:58:17 +10:00
Mitchell McCaffrey
b9968053b7
Converted token label and status to konva
2020-05-21 20:57:52 +10:00
Mitchell McCaffrey
5b70f69fb7
Moved map and map tokens to Konva
2020-05-21 16:46:50 +10:00
Mitchell McCaffrey
542388a67f
Removed single character limit for token labels and added sizing for token size
2020-05-20 18:39:57 +10:00
Mitchell McCaffrey
62476ce43e
Added token size to token map menu
2020-05-20 15:44:28 +10:00
Mitchell McCaffrey
26b82cc782
Added default size to token modal
2020-05-20 12:37:29 +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
0f5f90faa6
Added custom token loading and replication
2020-05-19 19:03:36 +10:00
Mitchell McCaffrey
dbc3cd83e7
Fix performance issue from changing map state
2020-05-19 16:33:23 +10:00
Mitchell McCaffrey
7b98370e4c
Added token edit modal, refactored map and token data providers
...
Refactored image drop code into reusable component as well
2020-05-19 16:21:01 +10:00
Mitchell McCaffrey
1774b459dc
Changed map zooming to always zoom to center of screen and not map
2020-05-18 21:52:46 +10:00
Mitchell McCaffrey
04794eddc1
Added token transition for when an other user moves a token
2020-05-18 19:21:29 +10:00
Mitchell McCaffrey
f080b675dd
Added new tokens and database upgrade
2020-05-18 16:31:32 +10:00
Mitchell McCaffrey
6e027cd9a3
Added continuous dice roll calculation and scene render sleep
2020-05-14 22:51:06 +10:00
Mitchell McCaffrey
d9c928dfcd
Added dice clear and dice reroll
2020-05-14 18:13:12 +10:00
Mitchell McCaffrey
b57d10c6ef
Added dice roll count
2020-05-14 16:48:13 +10:00
Mitchell McCaffrey
f2a17b3cca
Fix dice controls for light theme
2020-05-14 15:06:14 +10:00
Mitchell McCaffrey
ebc24a51d1
Added proper dice results
2020-05-14 15:06:02 +10:00
Mitchell McCaffrey
975cc24f4c
Added d100
2020-05-14 13:26:21 +10:00
Mitchell McCaffrey
2e3a733d4c
Added random dice throwing when creating instances
2020-05-13 23:13:58 +10:00
Mitchell McCaffrey
e48e5481e1
Added more dice
2020-05-13 16:15:32 +10:00
Mitchell McCaffrey
c9f77313a2
Moved to new dice mesh and added remaining dice types
2020-05-12 23:49:35 +10:00
Mitchell McCaffrey
ba17aec263
Remove console log
2020-05-10 19:48:27 +10:00
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