Sounds and Music in JavaScript games (Tutorial) @DrewConley
Sounds and Music in JavaScript games (Tutorial)  @DrewConley
Uploaded April 2021 | Updated September 2026, 2 hours ago
In this video, we walk through adding sound effects and music to JavaScript games with Howler JS. We cover a few of Howler's features like looping, pausing, sound sprites, and more.
Howler is a fantastic library - I highly recommend trying it out for your JavaScript project!

Howler JS
howlerjs.com

Code from this video
codepen.io/punkydrewster713/pen/dd016f661860a4176246c5e2af791785

⭐️ Get early access to my full JS Game Dev course:
drew-conley-courses.kit.com/66eb6d3ff4

💬 Join our Discord community of people making video games:
discord.gg/umD2GRy

Timestamps:
00:00:00 Howler JS
00:00:32 Demo overview
00:01:20 Adding Howler
00:02:13 Defining a sound effect
00:03:23 Firing the sound effect
00:04:15 More config options
00:05:29 Firing another sound
00:06:00 Adding music
00:06:30 Autoplay gotcha
00:07:00 Music playing buttons
00:08:20 Check if music is playing
00:08:54 Stopping music
00:09:54 Sound sprites
00:10:55 Outro

Me on Twitter:
twitter.com/drewconley13

Danger Crew
thedangercrew.com
Sounds and Music in JavaScript games (Tutorial)Im making an RPG about programmers... again... [Dev Log #1]Learn Knockout.js - Part 3: Form ValidationBuilding a Game about being a Bad Referee! GMTK 2023How to Draw Images to HTML Canvas (JavaScript Tutorial)Lets build Mega Man in JavaScriptShould you build an Editor for your game?Content configuration and other NPC updates! Pizza RPG Ep 17GODOT TUTORIAL #3: Top Down RPG Movement code (+ a technique I like)End-to-End Testing with Playwright (an Intro)Building a JavaScript RPG game + Releasing on Steam (Danger Crew presentation)Build reusable components in Knockout.JS
Drew Conley |

Sounds and Music in JavaScript games (Tutorial)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER