itch.io is community of indie game creators and players

Devlogs

Fixed missing audio in web version

Pharaoh's Comb
A browser game made in HTML5

We finally fixed the missing audio in the web build :)

In addition, I added a few small improvement to the game flow.


If any sound designers are interested in the bug:
We were trying start audio before the FMOD's banks were loaded.
Turns out in web builds, you must load the banks asynchronously and make sure they are loaded before starting any sound.
I solved this by creating an extension method which starts a sound only if the bank was loaded.
Usually the correct way to approach this would be to use a loading screen, but I preferred not to start designing and implementing that :)

Download Pharaoh's Comb
Leave a comment