https://ickshonpe.itch.io/pillars
Same thing on both Edge and Chrome. Play the game once and it's fine, but then if you refresh the browser the audio gets muted. Changing site permissions for itch.io to allow audio works, but other bevy games hosted on itch don't seem to have this problem.
#Sound gets muted after playing once on itch.io
12 messages · Page 1 of 1 (latest)
Have tried not starting the game on page load? Browsers don't really like autoplay AFAIK
wouldn't explain why it would work for the first time ofc
but I get no sound whatsover, first play or not
Bevy games are generally using this sort of workaround.
It's even bundled with bevy_game_template, which is a template created by the author of bevy_kira_audio.
But it's necessary with bevy_audio as well.
But also, on itch, if you don't use the "autoplay" feature (users have to click a button before the game iframe loads), there's no problem.