Commit Graph

195 Commits

Author SHA1 Message Date
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