Sound works for me in JS but not in HL (both Windows and Linux). I am using ogg files for the release.
I’ve also tried changing mastervolume just in case it was set to 0.0 but nope.
When starting the game speakers make a boop sound.
Some more details:
- hxd.res.Sound.supportedFormat(OggVorbis) returns true
- I am using initEmbed
- I am loading sounds with var sound = hxd.Res.loader.load(“audio/”+name).toSound() - is that wrong for embed?
- I play them sound.play() → and that doesn’t crash, just makes no sound
All that works in browser, just not in HL.