mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.4K
active users

Giuseppe Sellaroli

Yesterday I did a final playthrough of the browser version of "The founders of [redacted]" on my phone. Touch controls worked great! But...

I found the weirdest bug! There was a single sound effect that I couldn't hear. Just the one!

I had given up on it since it wasn't a game breaking bug, but I had an idea for a solution while trying to fall asleep last night.

1/2

Turns out the problem was that I wasn't updating the javascript FMOD module fast enough! (I was updating every 1/10 second, switching it to 1/60 fixed things).

The sound effect in question is very short and begins with a fade in (so the volume starts at 0). By the time FMOD was updated to adjust the volume, the sound had finished playing and I couldn't hear anything.

Bug squashed!

2/2