Commit Graph

856 Commits

Author SHA1 Message Date
jorsi af34686c71 reduce audio file sizes by converting to mmono, lowering sample rate to 22k from 44k, and lowering bit depth to 16bit from 24bit 2020-10-12 21:50:57 -04:00
jorsi 9d8049988d fix safari audio bug where error prevents leaving worldmap locations -- reveals another safari bug where decodeAudioData doesn't return a promise to start playing music immediately 2020-10-09 12:22:06 -04:00
jorsi d0a12ac4a5 merge upstream/main 2020-10-08 12:57:21 -04:00
Michael Townsend 9e19425a9e Disable audio until bugs and hosting can be worked out 2020-10-05 12:23:08 -04:00
jorsi a601473645 We have audio! Thanks @orsi! 2020-09-10 12:45:10 -04:00
jorsi 9a7568885d Merge branch 'master' of https://github.com/doublespeakgames/adarkroom into doublespeakgames 2020-09-03 20:43:00 -04:00
jorsi c1f0e70233 fix jshint warning about leading decimals confused for dot properties 2020-09-03 20:33:07 -04:00
jorsi 371c657c08 remove god mod function 2020-09-03 20:28:49 -04:00
jorsi da51fd0dfd restore original google analytics 2020-09-03 20:12:05 -04:00
Michael Townsend d6d1c1b987 Merge pull request #660 from Jaredcscott/master
Updating description of energy cells
2020-08-16 09:03:44 -04:00
Jared Scott 9e4aa7ee05 Merge pull request #1 from Jaredcscott/Jaredcscott-patch-1
Update to description of energy cells
2020-08-15 23:32:01 -06:00
Jared Scott a5dfe8f189 Update path.js 2020-08-15 23:30:41 -06:00
jorsi e260dcfff3 fix sound turning on/off randomly on first user click due to toggleVolume call 2020-06-21 14:05:19 -04:00
jorsi 2a7f8441dd fix invalid state error in safari when trying to stop background music 2020-06-21 13:53:08 -04:00
jorsi f6b7a35a32 fix audio context resuming for browsers with no autoplay policy 2020-06-08 22:56:05 -04:00
jorsi dafc86325d normalize volume levels of sound effects that were too loud 2020-06-04 23:28:59 -04:00
jorsi 51ddd24c79 fix enableGodMode order to prevent strange behaviour 2020-06-04 19:35:28 -04:00
jorsi b099a1d122 improve encounter music 2020-06-04 19:25:57 -04:00
jorsi 2b0d1b7920 improve audio 2020-06-04 16:38:13 -04:00
jorsi dc3184e31b improve footstep sounds 2020-06-04 15:52:31 -04:00
jorsi a5c81f10e8 prevent same sound from playing multiple times 2020-06-04 15:52:15 -04:00
jorsi 54e6731748 add missing sound effects 2020-06-04 15:21:28 -04:00
jorsi ed05aee1d4 add missing event music; lower volume for space music 2020-06-03 19:12:09 -04:00
jorsi 8dea25ccd2 reorder enable god mode code to prevent duplicate area tabs 2020-06-03 18:29:30 -04:00
jorsi 031d9435e3 fix wrong function call 2020-06-03 18:26:06 -04:00
jorsi 783886b9b2 fix space music fading in when ending game by adding separate background volume function 2020-06-03 18:22:48 -04:00
jorsi 44a7552de4 fix room music playing when in another scene 2020-06-03 18:14:19 -04:00
jorsi 3b43a2754a refactor audio engine: simplified gain channels, improve fading between audio, rename functions 2020-06-03 17:44:27 -04:00
jorsi fd4fbe6bd4 preload high priority area and event audio 2020-06-03 16:39:35 -04:00
jorsi 3a2819d8af refactor functions 2020-06-03 16:39:12 -04:00
jorsi a5d81c2da7 reorganize audio library order 2020-06-03 16:27:19 -04:00
jorsi 986d76ab3d remove unused audio references 2020-06-03 16:24:50 -04:00
jorsi fa9081f6df improve fire sounds 2020-06-03 15:02:58 -04:00
jorsi 0274e9ea5d add shady builder event music 2020-06-03 15:02:51 -04:00
jorsi 20de297144 modify audio levels for village sounds 2020-06-02 22:09:29 -04:00
jorsi eae6d40be1 add google analytics for github site 2020-06-02 21:14:16 -04:00
jorsi 1c7b3fbd31 improve village sounds 2020-06-02 20:58:51 -04:00
jorsi 740204de85 lower volume as altitude increases 2020-06-02 16:02:25 -04:00
jorsi bfd8b3690e add function to get current volume 2020-06-02 16:02:12 -04:00
jorsi 28c4462ffb update space music 2020-06-02 16:01:48 -04:00
jorsi c710538db8 add plague event music 2020-06-02 16:01:35 -04:00
jorsi 4c7c5d0346 add ending music 2020-06-02 16:01:24 -04:00
jorsi 8e5f8bbae6 add space sounds 2020-06-02 14:23:33 -04:00
jorsi 956b05074d add more landmark music 2020-06-02 12:26:38 -04:00
jorsi 4f61055909 add enable god mode function 2020-06-02 10:44:00 -04:00
jorsi 0198cce7fc add several landmark loops 2020-06-01 23:52:56 -04:00
jorsi f9d42adb67 remove .wav files 2020-06-01 20:15:37 -04:00
jorsi 9109591d44 remove console.log 2020-06-01 19:42:17 -04:00
jorsi d2dae63a10 set debug false 2020-06-01 19:41:15 -04:00
jorsi 3ceb34298b cleanup 2020-06-01 19:40:40 -04:00