doublespeakgames / adarkroom

A Dark Room - A Minimalist Text Adventure
Mozilla Public License 2.0
7.09k stars 1.59k forks source link

Implement audio engine; add music for scenes, events, landmarks; add action sound effects #664

Closed orsi closed 3 years ago

orsi commented 3 years ago

Large feature addition to the game!

Implemented a rudimentary Audio engine that utilized the Web Audio API in order to load, play, fade, and transition audio between scenes, events, and actions.

I've included over 40 audio files which cover:

Any and all feedback appreciated.

Jon

orsi commented 3 years ago

In addition, I've added to the UI menu at the bottom the option to turn sound on/off, similar to how the light on/off button works.

Continuities commented 3 years ago

Merged in a601473645cd58a7f51c382d68fc918472f1dcf1 Thanks so much @orsi