Audio on Linux
This is so much fun! :) I just wanted to let you know that {beepr} works on Linux. If you check beepr:::play_file you'll see that it tries several commands, such as paplay (from pulseaudio-utils), aplay (from alsa-utils) or even vlc. pw-play (from pipewire-utils) may be available in more up-to-date systems. ffplay (from ffmpeg) is another candidate, and I noticed that I have play installed too, from package sox. Hope it helps.
Thanks @Enchufa2! Could you try the latest release on linux?
I added 'beepr' playback for systems detected as unix, but have no way to test.
https://github.com/coolbutuseless/anotherworld/commit/1908a76726261aaa49a9ff0f8917b02928194dc6
Sound is working on Ubuntu! I am still dying...
Thanks @daniel-j-miller
I'll leave this issue open to remind myself to pull the "play_file()" out of beepr and include in this repo.
It feels a bit bad to be using the triple-colon ::: to access beepr:::play_file()
Working fine here on Fedora too!
And why is there no music? Is the asset missing or is it a technical issue?
@Enchufa2 I haven't looked at music yet.
I don't have any sound on my end, and I tested on different distros. Should I install some specific package in Linux for that?
@ekianjo please read the first comment in this thread.
This game relies on 'beepr' for sound, so get that working on your machine first.
See also documentation for "beepr::beep"
sorry about my issue, it's actually working, I tried on a different Linux machine and it was fine.