Link to home
Start Free TrialLog in
Avatar of James Hancock
James HancockFlag for United States of America

asked on

Do most javascript games avoid sound?

Hi,
if I make a Javascript game, most I see on my phone don't do sound.
Is that the norm? Avoiding sound? I couldn't see .wav or .mp3 in their code
One time ago my dad had game swirling sounds playing loud from his laptop, and the cats became very upset.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Nicolas Lecanu
Nicolas Lecanu
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Brandon Lyon
Brandon Lyon

Games are often built with limited development resources. Adding sound is another layer of complexity. Sound can definitely improve a game but it might get left out unless it is core functionality.

Games are often built for a target audience. On a mobile device this means that if you download sound you'll be spending extra bandwidth on something that you're probably playing in a public setting with the sound off.

That said there are many libraries out there which help to simplify working with audio in javascript, such as https://howlerjs.com/
Avatar of James Hancock

ASKER

Thanks