diff --git a/README-INTRO.jpg b/README-INTRO.jpg deleted file mode 100644 index 989b8e78..00000000 Binary files a/README-INTRO.jpg and /dev/null differ diff --git a/README-LOGO.svg b/README-LOGO.svg new file mode 100644 index 00000000..f66f0603 --- /dev/null +++ b/README-LOGO.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/README-MAP.png b/README-MAP.png new file mode 100644 index 00000000..a592d222 Binary files /dev/null and b/README-MAP.png differ diff --git a/README.md b/README.md index fdbd8320..17a8739d 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,18 @@ > # This is a fork of [Work Adventure](https://github.com/thecodingmachine/workadventure) with small adjustment and changes for production environment for Bastelei e. V. Partey -![WorkAdventure landscape image](README-INTRO.jpg) +![WorkAdventure logo](README-LOGO.svg) +![WorkAdventure office image](README-MAP.png) -Demo here : [https://workadventu.re/](https://workadventu.re/). +Live demo [here](https://play.workadventu.re/@/tcm/workadventure/wa-village). -# Work Adventure +# WorkAdventure -Work Adventure is a web-based collaborative workspace for small to medium teams (2-100 people) presented in the form of a +WorkAdventure is a web-based collaborative workspace presented in the form of a 16-bit video game. -In Work Adventure, you can move around your office and talk to your colleagues (using a video-chat feature that is -triggered when you move next to a colleague). +In WorkAdventure you can move around your office and talk to your colleagues (using a video-chat system, triggered when you approach someone). +See more features for your virtual office: https://workadventu.re/virtual-office ## Setting up a development environment diff --git a/front/src/Components/AudioManager/AudioManager.svelte b/front/src/Components/AudioManager/AudioManager.svelte index a7f96f61..e201254c 100644 --- a/front/src/Components/AudioManager/AudioManager.svelte +++ b/front/src/Components/AudioManager/AudioManager.svelte @@ -23,6 +23,8 @@ audioManagerVolumeStore.setMuted(localUserStore.getAudioPlayerMuted()); changeVolume(); + loadAudioSettings(); + unsubscriberFileStore = audioManagerFileStore.subscribe(() => { HTMLAudioPlayer.pause(); HTMLAudioPlayer.loop = get(audioManagerVolumeStore).loop; @@ -79,6 +81,11 @@ changeVolume(); } + function loadAudioSettings() { + audioManagerVolumeStore.setVolume(localUserStore.getAudioPlayerVolume()); + audioManagerVolumeStore.setMuted(localUserStore.getAudioPlayerMuted()); + } + function setVolume() { volume = parseFloat(audioPlayerVol.value); audioManagerVolumeStore.setVolume(volume); @@ -88,6 +95,11 @@ changeVolume(); } + function disallowKeys() { + audioPlayerVol.blur(); + return false; + } + function setDecrease() { audioManagerVolumeStore.setDecreaseWhileTalking(decreaseWhileTalking); } @@ -116,7 +128,7 @@ - +